hacks

Use Virtualenv with IPython 0.11

If you are a Python hacker, most likely you will be using a virtualenv for your development environment, you are probably an iPython user. Unluckily, IPython doesn't pick the virtualenv paths by default and you will have to tweak it a little bit to make it work. Basically, this a…

Auto restarting python application

This is a cool sample on how to write an automatic self-restarting python application after a timeout, of course you can modify this application to be much more sophisticated so it can close all open files before restarting or restarting based on a signal (SIGHUP maybe?) or whatever you like…

Building VirtualBox on Mac OS X with VNC Support

I've been using VirtualBox for months for several reasons and recently I've been forced to use only the free version of vbox (without the Extensions Pack), which doesn't include the sweet bits of VRDP server among other things. I wanted to boot my virtual machines headless and access it using…