nexec, distributed terminal commands

Update: since there’s been a change in pylib’s netexec that breaks nexec.py I’ve updated the script. Click here to download the newest version! I Developed this commandline tool to make it easier to maintain stuff on a groing amount of servers. nexec...

Downsize an image while keeping aspect ratio

A simple python function to downsize an image and calculate the new dimensions while keeping aspect ratio. I needed this functionality for a web application. There are some variations found on the net from which I constructed this simple but effective python function...

Setting up your own custom python userlib

I recently wrote a a script that monitors file/dir changes, acts on a change and notifies me via notify-osd or email. While writing this I came to the conclusion that a simple thing as sending an email easily kicks up to at least 10 lines of code and some settings. So...

HTTP over SSH … The full Monty!

I’ve been looking into this because I did not want to spend more money on extra IP addresses for SSL connects. But I do have several websites I want to access encrypted (that is .. not over plain HTTP). There definitely are some articles (and forum threads) out...