Category Archives: Programming

Testing with Python 2.4 on Ubuntu 10.10

Recently I needed to test a Django app under Python 2.4. I’m using Ubuntu 10.10 and the lowest packaged version of Python in the repositories is 2.6. I decided to compile Python 2.4 myself and use it in a virtualenv … Continue reading

Posted in Django, Programming, Python, Web | Tagged , , , | Leave a comment

Using Django FormWizard in a view

I recently needed to use a Django form wizard from a view. I needed it in a view as I had some permissions that I needed to check and also wanted to supply some initial data as the form would … Continue reading

Posted in Django, Programming, Web | Tagged , , | 1 Comment

git-svn new branches don’t show up…

Working with git-svn I noticed that new branched didn’t show up when I did the usual git svn rebase to get the remote changes. After a bit of searching and not coming up with much, I worked out that git … Continue reading

Posted in How-to, Programming | Tagged , | 1 Comment

Enabling bash/git auto-completion in Ubuntu

I now use git quite a lot for various projects.  I noticed that on one computer I had very handy tab completion, and the other one did not.  They are both running Ubuntu 8.10, so there shouldn’t be a difference. … Continue reading

Posted in How-to, Programming | Tagged | Leave a comment

git vs bzr (vs svn)

I thought I should write up my experiences of trying out git.  It’s only been a week, but I’m settling in well.  This has probably been posted by many other people all over the internet but if everyone else is … Continue reading

Posted in Programming | Tagged , , | 3 Comments

Ruby Gems on Ubuntu 8.10

Today I was setting up ruby, rails and capistrano on Ubuntu 8.10.  It turns out that the gems binary path was not in my path. To fix it, edit your ~/.bashrc file. gedit ~/.bashrc Add these lines to the bottom … Continue reading

Posted in Programming, Ruby, Ubuntu | Leave a comment