Recent Posts

use encrypted folders

less than 1 minute read

mounting already encrypted folders: sudo mount -t ecryptfs <folder> <folder> -o key=passphrase,ecryptfs_cipher=aes,ecryptfs_key_bytes=32,ecryptf...

turn num lock on at startup

less than 1 minute read

install numlockx and edit config: vim /etc/mdm/Init/Default if [ -x /usr/bin/numlockx ]; then /usr/bin/numlockx on fi source: http://unix.stackexchange.com/...

custom python3.x install (on mint)

less than 1 minute read

follow instructions from: http://grahamwideman.wikispaces.com/Python-+Installation+on+Linux note the following: use (latest) python version that you want us...

bash extract function

1 minute read

it's convenient to define this function in your bashrc, s.t. you dont have to think of all the different file formats while extracting. source: https://coder...

python image library

less than 1 minute read

for editing pictures with python from PIL import Image im = Image.open("foo.png") pix = im.load() pix[x,y] = value im.show() im.save("new.jpg") source: http...