Category: Linux Tips

1,500,000,000 the Epochening

Don’t forget that at 2:40am, 14 July 2017 (UTC) the Linux epoch will hit 1,500,000,000 (1.5 Gigaseconds). Visit to watch the excitement! It hit 1,000,000,000 back in September 2001 and it won’t hit 2,000,000,000 until May 2033.

dump1090 binary built for Raspberry Pi / Arm

If you’re after a binary of dump1090 for the Raspberry Pi without having to build it, here’s a compiled binary for you. I built it on Arch linux, but it also works on Raspbian, or likely any other Arm processor

Converting PDF files to HTML on Ubuntu

It’s very easy to convert PDFs to HTML on Ubuntu. The command is pdftohtml

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 with gpsbabel.

Stopping Javascript from resizing the window in Firefox

One of my pet hates on the internet is shopping sites which resize the window when you’re looking at a zoomed in image. Not all of us still use a windowed browser, in fact, most people now use a tabbed

Selective colour replacement with imagemagick

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

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.

WordPress not sending emails on ubuntu – nrcpts=0

So, you’re using sendmail to try and send emails from php/wordpress and it’s not working? Are your mail logs (/var/log/mail.log) showing nrcpts=0 ?? Make sure the sendmail_path in your php.ini file (/etc/php5/apache2/php.ini) is set up correctly. It should probably be…

WordPress, Permalinks and 404 errors

This page has the permalink /2010/04/wordpress-permalinks-and-404-errors But internally its default URL is /?p=1495. Permalinks help people see the topic of a page before it’s visited and generally mean that search engines will rank them higher too. OK, so you’re getting

Plugging in headphones doesn't mute speakers in Ubuntu

I upgraded to Ubuntu 9.10 in early December, but yesterday was the first time I tried to use headphones since then. It turns out that plugging headphones into the headphones socket doesn’t automatically mute the speakers anymore. Here’s a fix.