Category: Tips

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

Posted in ADS-B Aircraft tracking, Embedded Systems, General Randomness, Linux Tips, Raspberry Pi

iPhone templates for UI prototypes

I’ve recently started doing a lot of development for the iPhone and iPad and I wanted to be able to sketch layouts on paper. Now it’s one thing to draw a rough iPhone layout, but it’s another to actually have

Posted in Tips

Converting PDF files to HTML on Ubuntu

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

Posted in Linux Tips

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.

Posted in General Randomness, Linux Tips, Tips

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

Posted in Linux Tips, Mac OS X Tips, PC Tips

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’" output.png While

Posted in General Randomness, PC Tips

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" -opaque "#0000FF"

Posted in General Randomness, Linux Tips, Mac OS X Tips, PC Tips

Deleting folders recursively

I needed recursively delete folders named .svn within a directory structure. The following will allow you dto do this from a command prompt: FOR /F "tokens=*" %G IN (‘DIR /B /AD /S .svn’) DO RMDIR /S /Q %GFOR /F "tokens=*"

Posted in PC Tips

IIS 6- Setting up a write only FTP directory

So, you want to set up a write only ftp directory on IIS? One where you can upload files, but not list them? Easy…

Posted in PC Tips, Tips

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.

Posted in General Randomness, Linux Tips, PC Tips, Tips