Articles



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

Text Selection Color

Feb 1, 2011

A lesser know property of CSS3 is the selection property. This allows you to change the properties of text when selected so you can highlight it in any way you want This sentence should highlight in black. And this in red. Don't forget that some browsers...