The Android Debug Bridge ( ADB ) is an underutilised tool in my opinion. Over the last couple of months I have been doing a lot of work using Cordova and the Ionic Framework to create my field guide to NSW Marine Life for the Android platform. When I started…
Read More
RaspberryPi Car Computer 15,000km Later


Creating a Simple Iptables Blacklist
Anyone that had ownership of a server for any length of time quickly learns that the Internet is full of spammers, bots and other characters you would prefer didn’t exist. A firewall is key to keeping these guys at bay and Linux comes with a Kernel level firewall called iptables…
Read More
Creating a Tor Relay on Debian
The TOR project has proven itself an indispensable tool in the fight to protect the anonymity of people on-line. The project needs servers to route traffic through for the project to achieve its goals though. So contributors are needed to donate relays nodes ensuring a free Internet for all. In…
Read More
PHP FPM Errors After Upgrade
Recently I noticed a few of my servers had stopped serving my sites, with 502 errors being to visitors. I took a look at my site logs and noticed that they were full of the “Permission Denied” errors below: 2014/06/09 09:45:17 [crit] 11453#0: *22 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission…
Read MoreQuick Intro To Memcached Stats
A few days ago I was given the job of changing the caching engine used in a Zend Framework based application from a simple flat file system based caching system to a memcached based object store that could be used by multiple servers. After extending the existing application bootstrap file…
Read MorePNG Crush: PNG image optimisation script
Building a Cordova based mobile application recently at work we were facing an issue with an application size that was literally growing by the day. The project leveraged a lot of PNG templates sent to us by the design department and these template files were contributing about 50mb to the…
Read More
Linux CLI: File Text Search & Replace
Occasionally you need to change the contents of some files easily to save a lot of manual work. In my case it was a server migration, the old IP address of a server was referred to from numerous DNS records. This meant the contents of a couple of hundred Bind…
Read MoreTunnelling data over SSH with Putty
An SSH tunnel is used to route unencrypted traffic through an encrypted SSH channel. Its comes in handy for routing traffic over untrusted or hostile networks as the data is encrypted to maintain privacy and prevent eavesdropping. It is also very handy in for bypassing firewall restrictions on networks where…
Read MoreEncypting Diectories With eCryptfs
eCryptfs is an encrypted file system that works at the file system level. In this post I am going to cover the basic usage of eCryptfs and some of the situations you may want to think about using a encrypted file system. What is an encrypted file system? File system…
Read MoreInstalling SVN support in Aptana Studio 3
Its been a few years since I have worked anywhere that still uses Subversion as their day to day version control system. But the other day at work I needed to check out some old legacy code which was stored in a svn repository on an old development server. Then…
Read More