Andrew McCombe


Magento Certified Website Developer

Install Beanstalkd on Ubuntu 12.04

A simple guide on how to install Beanstalkd on Ubuntu 12.04.


You may need to re-run your boot loader[grub]

After updating an Ubuntu server I occasionally see the message `you may need to re-run your boot loader[grub]` after updating the kernel. Here’s how to actually update Grub.


Exim Command Cheat Sheet

I’ve had this Exim command cheat sheet in Evernote for a while and thought it would prove useful to others.


Job Control Commands: fg, bg and ctrl-z

I have a script polling a Beanstalkd queue and needed to put it into the background, and bring it to the front whilst debugging it.


Grep Apache access log for browser and OS version

Today I’ve needed to find out if it was worth testing a client’s website with Safari 5 on Windows. Here’s some shell foo to find out from an access log


Filter Apache logs to exclude js, css and images

Quite often I find myself having to filter Apache logs to exclude JS, CSS and images. I use a combination of cat and egrep to achieve this.


Install PHP 5.4 and Nginx on Ubuntu 12.04

Whilst the LAMP stack is easy to install (sudo tasksel & select ‘LAMP’), installing PHP 5.4 and Nginx on Ubuntu 12.04 isn’t as straightforward. For a start, the packaged Nginx is out of date and PHP5.4 isn’t currently available at all out of the box. Luckily there are PPA’s for installing PHP 5.4 and Nginx.


My “Must Have” utilities on Ubuntu

My OS of choice is Ubuntu and there are a few "Must Have" utilities on Ubuntu I usually install straight away. Here’s a list of the ones I use the most. From left to right these are: Shutter http://shutter-project.org/ Shutter is a feature-rich screenshot program. You can take a screenshot of a specific area, window, […]


What I want from an IM Client

Here’s the list of features I need from an IM Client.


Howto: Get the IP address of a domain in a one liner

I have a need in a bash shell to get the public ipaddress of a domain name.  Here’s how to achieve it: andrew@andrew:~$ dig +short A www.euperia.com 193.228.155.183andrew@andrew:~$ dig +short A www.euperia.com 193.228.155.183 Cool huh?