This tool from pendrivelinux.com is a useful utility to help create a bootable USB pen drive with a menu system for booting into multiple operating systems. It works from within [...]
Dec
2011
jQuery Reading Shakespeare XML
I was helping someone with some jQuery to read XML files of Shakespeare plays and this is what I came up with. Very incomplete but he so I can reference [...]
Nov
2011
Apache GeoIP Country Detection
Creating customised content based on the origin country of your website visitors requires installing the mod_geoip module for Apache and also the MaxMind GeoIP database as follows (on CentOS): mkdir [...]
Nov
2011
Android Screenshots on Ubuntu
So I wanted to create screenshots of my HTC Hero Android phone from my Ubuntu desktop. So I … downloaded and extracted the android sdk to e.g. ~/programs cd into [...]
Nov
2011
Creating a Yum Repository
Armed with a few RPMs I need to install on multiple machines and sick of SCP’ing files around machines I decided to set up a Yum repository. Here’s how: On [...]
Oct
2011
PHP Web Scraping for Munin
There is a web page created by someone else containing figures I would like to use to draw some graphs in Munin. The HTML in that page is a bit [...]
Oct
2011
Squid Problems
Todays installment in the Adventures of Squid Sandwich: Forwarding loop detected WARNING: Forwarding loop detected for: in /var/log/squid/cache.log Since I am using a DansGuardian sandwich with Squid for bread I [...]
Oct
2011
Linux: What is using all the Swap?
On Linux to discover which processes are using all the swap run top press ‘O’ (capital letter o) then ‘p’ then ‘enter’ Processes should be sorted by their swap usage.As [...]
Oct
2011
Uptime 4 years
Since I like posting screeshots of uptime figures here is one of an anti-spam machine up for 1496 days (just over 4 years). The machine is running Red Hat 4.
Oct
2011
The Cost of Microsoft Windows 7
It’s free – it came with my computer Love them or hate them Microsoft are effective in business. One of their methods of peddling their product is to ensure that [...]

