Virtualbox: virtual networking anywhere

For lack of a better title, ever had the problem with Virtualbox where you’re working happily in the guest OS, unplug your laptop, get underway, and see the end of your guest OS access. It’s always either Internet access or local access for your VM. Well,...

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

Django FormWizard best .. well .. useful practices

Edit: After some re-writes of this post it is finally setup in a manor that is clean and failsafe. After researching and setting up two FormWizards in Django I concluded some things that might be useful to others. Hence this post. Having userdata available throughout...