Recent Posts

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...

pdf editing

less than 1 minute read

install the following program: pdftk simple cutting: pdftk myDocument.pdf cat 1-9 26-end output removedPages.pdf cutting multiple files: pdftk A=one.pdf B=t...