Articles

Page 5



  • CSS best practices

    Wednesday, December 16, 2015
    🕑5 minute 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

    Saturday, May 2, 2015
    🕑1 minute 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

    Sunday, March 8, 2015
    This is a simple timer, using Swift....

  • The joy of calc()

    Sunday, November 3, 2013
    🕑2 minute 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

    Friday, June 7, 2013
    🕑2 minute 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

    Friday, November 16, 2012
    🕑2 minute 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

    Monday, July 9, 2012
    🕑2 minute 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

    Tuesday, May 15, 2012
    🕑1 minute 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

    Thursday, December 8, 2011
    🕑3 minute read
    There are plenty of tutorials and guides on how to make a chome extension and there are hundeds for jQuery manipulation of the DOM. There are also a few about using jQuery in a chome extension, but only for the popup window. There seems to be a lack of usi...

  • Flipping a UIImage

    Sunday, September 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....