Home » General Randomness

Migrating to new server

I’m in the middle of migrating to a new server. If you have any problems on my site, please send an email to

Read More »

Update – Reading data from a Sensirion SHT1x with a Raspberry Pi

After a few comments regarding my code to read data from a Sensirion SHT1x with a Raspberry Pi, I’ve got some updated code. Please see my previous post for general information, but use the code here. The list…

Read More »

Reading data from a Sensirion SHT1x with a Raspberry Pi

Note: An updated version of my code is available at /2012/11/update-reading-data-from-a-sensirion-sht1x-with-a-raspberry-pi/ The Sensirion SHT1x range of sensors provide a rather convenient way to accurately measure Temperature and Relative Humidity. They aren’t the cheapest sensors as they typically sell…

Read More »

Update

OK, OK. I admit it. I’ve been very slack updating my blog recently. I’ve had a few overseas trips with work and been inundated with other work. I promise I’ll update my site soon!

Read More »

Kiwicon Reminder

I’m off to Kiwicon V this coming weekend. If you’re interested in computer security and haven’t got a ticket, I suggest you make some very last minute plans to get to Wellington for the 5th and 6th November.

Read More »

Stag hat with a difference

My brother recently got married and as per the rules of engagement, the lead up to the event included a Stag night. For my Stag night, I was given a hard hat complete with a flashing LED light…

Read More »

Downloading routes from a GlobalSat DG-100 with gpsbabel on Linux

This is a GlobalSat DG-100 It’s an amazing piece of Kit, but the software that comes with it is absolutely rubbish. You can download all of the routes (and delete them from the unit) in one simple command…

Read More »

Combining two images with ImageMagick

To combine two images of the same size with ImageMagick, you simply do the following: The following will overlay overlay.png on top of output.png mogrify -draw "image SrcOver 0,0 0,0 ‘overlay.png’" output.pngmogrify -draw "image SrcOver 0,0 0,0 ‘overlay.png’"…

Read More »

Selective colour replacement with imagemagick

Selective colour replacement is easy from the command line with imagemagick. You can download imagemagick from http://www.imagemagick.org/ The following will replace all red (#FF0000) pixels with blue (#0000FF) convert sourceimage.png -fill "#FF0000" -opaque "#0000FF" destimage.pngconvert sourceimage.png -fill "#FF0000"…

Read More »

WordPress Super Cache plugin – Performance Benchmarking

I’ve been doing some performance tests on WordPress to see how much of a difference the WordPress Super Cache plugin made. It turns out that the plugin makes a huge difference.

Read More »