Articles



Start using Git

Feb 9, 2016

πŸ•‘9 min read
Turning any project in to a Version controlled project is really simple and should be one of the first steps in any project workflow. By the time you realise that you need a version controlled file, it’s usually too late – whether you have accidentally ove...

CSS best practices

Dec 16, 2015

πŸ•‘5 min read
There are a few ways of writing css. For consistency, we will adopt only one naming convention. This is lowercase and hyphen separated. It is the most readable and fits well with other CSS methodologies that are covered below. Yes No Specificity Keep y...

WordPress localhost redirects to live site

May 2, 2015

πŸ•‘1 min read
When you are developing on WordPress sites it's always quicker to work on a local machine/development server. It's essential to work from the same data as the live site so you can work effectively as possible so taking a copy of the live database and insta...

Swift timer

Mar 8, 2015

This is a simple timer, using Swift....

The joy of calc()

Nov 3, 2013

πŸ•‘2 min read
calc() is a modern css function that allows you to do basic maths in a css file. You can use it to make semi fluid layouts with great ease. This means that you can have layouts with 1 fixed width column (or more) and the rest fluid. It doesn't just stop at...

Creating a chrome extension - an update

Jun 7, 2013

πŸ•‘2 min read
Since I wrote my last post on creating a Chrome extension , there have been a few changes to how the extensions are built - mainly that the manifest version has changed to version 2. The original post is still fine, but there are a few tweaks needed. This ...

Arabic web fonts

Nov 16, 2012

πŸ•‘2 min read
I've been looking for a good solution for Arabic web fonts for while now and have been hitting my head against the wall with the lack of options available to me or the cost of buying a font and hosting it myself. Just as I was contemplating making my own ...

Changing the version of SASS in LiveReload

Jul 9, 2012

πŸ•‘2 min read
LiveReload is great a great tool for any web developer. One of the most useful of it's features is the ability to compile SASS on save. Unfortunately the version of SASS that is included in LiveReload isn't the latest one and it just so happened that was t...

A Responsive Image jQuery Plugin

May 15, 2012

πŸ•‘1 min read
There are a whole variety of ways that responsive images can be accomplished, but as of yet there is no perfect way of doing it without using a combination of .htaccess, javascript and css. My solution is no different and uses JavaScript (in the form of jQ...

Creating a chrome extension that uses jQuery to manipulate the DOM of a page

Dec 8, 2011

πŸ•‘3 min read
There are plenty of tutorials and guides on how to make a Chrome extension and there are hundreds for jQuery manipulation of the DOM. There are also a few about using jQuery in a Chrome extension, but only for the popup window. There seems to be a lack of ...

Flipping a UIImage

Sep 25, 2011

Flipping an image using objective-c is so easy once you know how... That's it! Now to have it as an method we can use more conveniently, try this: Then we can send any image to it and it will return a flipped version....