makandra dev
wiki.debian.org

This note is a reminder that there is something called AppArmor that could cause weird errors ("File not found", "Can...

makandra dev

Using OpenSSL it's very easy to seriously encrypt files. Use the script below. Input / Output are self explanatory. Put...

makandra dev

When you delete a file with rm it's still possible to recover the file or parts of it. Use...

makandra dev

Sometimes you want to run a command forever, e.g. to compile a haml to html file on the console. Use...

When you need to bulk rename files you can not call "mv *.foo *.bar" to change the extension of all...

cyberciti.biz

To list the name and version of your Linux distribution, type the following: cat /etc/*-release

babushka.me

The idea is this: you take a job that you'd rather not do manually, and describe it to babushka...

It's that simple to allow one of your Linux users to run a single command as UID 0:

Call geordi clean from a project root to remove unused and unnecessary files inside it. This script is part of...

nokogiri.org

Because Nokogiri needs to be compiled and dynamically linked against both libxml2 and libxslt, it has gained a reputation for...

This is a bash script for those of you who need to install all gems for all projects (e.g. to...

skorks.com

Ctrl + R Search commands you entered previously. Press Ctrl + R again to search further back, Ctrl + Shift + R searches forward...

I prefer the application that I'm currently working on to be reachable at http://localhost/. So when I switch...

timetobleed.com

This post will describe how I stumbled upon a code path in the Linux kernel which allows external programs to...

makandra dev

If a SSH shell dies (from timeout for example), you cannot kill it with the usual CTRL-C or CTRL...

makandra dev

Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11

If you need to find all files inside a directory that were modified in the last 24 hours you can...

Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba...

makandra dev

You may omit the /path/to/link_name to have a link with the same filename appear in the current directory

makandra dev

To pause and send a task to the background ctrl+z to reactivate the task fg to run task in...

Open the configuration file: gksudo gedit /usr/share/vte/termcap/xterm Find a line like this: :co#80:it#8:li#24:\

makandra dev

From the shell: ls -l | wc -l

morris-photographics.com

Some browsers render PNG images with color profiles and other shenanigans, some don't. The cleanest way to have consistent...

Append this to your ~/.bashrc: export PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s...