Archive for September, 2011

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 slightly tweaked version of this [...]

My Startup Weekend Alex 2011 Experience

“An extraordinary experience with the top-notch geeks in the city and nearby cities” – That was my definition to this event “Startup Weekend” after participating a few months ago in SWCairo, I was pleased to launch Fakkarny and very excited to meet the top-notch geeks. That experience changed a lot in the way I think [...]

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 Lion with Python Bindings

After building VirtualBox with VNC support in my previous post I discovered two problems with that installation (VirtualBox 4.1.2 on Mac OS X Lion 10.7): SDK was not installed by default, import vboxapi from python failed. VBox Python bindings were built for python 2.6 and segfaults on python 2.7 I contacted some guys on #vbox-dev on [...]

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 VNC which doesn’t come by [...]