Category Archives: Geekery

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

Moving from Slicehost to Linode

Spent the weekend moving HairCrazy from Slicehost to Linode. A few times over the past year and a bit, we’ve had issues with high steal times on Slicehost, with the only cure being to move to another host server (and … Continue reading

Posted in sys-admin, Web | Leave a comment

Netbooks

I’ve been thinking about buying a laptop or a netbook recently. I like the idea of a netbook but was a bit worried that it would be too small, crappy and underpowered. Today I got to play with David’s Samsung … Continue reading

Posted in Ubuntu | Tagged , | Leave a comment

Of Fonts and Typography

Recently, I wanted to use some nice @font-face on a website. When I was looking around I stumbled on Font Squirrel’s generator that packages up the fonts for you nicely, and auto-generates the proper CSS for their use. Nice. I … Continue reading

Posted in Typography, Web | Tagged , , | Leave a comment

Speeding up Liferea

Liferea was taking a couple of minutes to open for me, so I thought I’d look for a solution to that. I have >100 feeds, but I’m not about to cut the amount down (not addicted, honest). Liferea stores a … Continue reading

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

Handy Hints: Emptying log files

When emptying log files, don’t just rm log_file.log as the disk space won’t be freed until the application that is logging is restarted. It is better to use > log_file.log as that will allow the file system to free the … Continue reading

Posted in How-to, sys-admin | Tagged , | Leave a comment

Handy Hints: What is using up my disk space?

Here are some commands I use to find out what is eating all of my disk space on a remote server: df -h Shows how much disk space is available. The -h means that you get G for gigabytes, M … Continue reading

Posted in How-to, sys-admin | Tagged | Leave a 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 , | 2 Comments

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