Articles



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

Basics of the NSNotificationCenter

Sep 17, 2011

πŸ•‘2 min read
The uses of NSNotificationCenter can be many; It is handy for using to notify the app that a background download of data, a post of some kind is done, or some calculation is finished. It can also be useful for letting sub views know when some root level fu...

Preventing unstyled content before jQuery loads

Feb 18, 2011

πŸ•‘1 min read
jQuery is a very powerful tool but because of it's size it can be quite slow to load, and on some older devices it can also be slow to "boot up" and become ready for action (I'm looking at you iPad/iPhone!) Why is this a problem? In my case the problem i...