Page 5

  • Javascript best practices

    Sunday, July 10, 2016
    ๐Ÿ•‘4 minute read
    Where to put the javascript? Unless itโ€™s essential for it to be in the head of the HTML document, place all javascript just before the closing body tag of a page. Whatโ€™s essential for the head? That can vary from project to project but a rule of thumb w...

  • A Project code guideline

    Tuesday, June 14, 2016
    ๐Ÿ•‘8 minute read
    This is my documentation for a new project. Iโ€™m writing it here rather than inside a repository so that it can exist across multiple projects. This will eventually be duplicated on to a markdown document for posterity! Project structure As the project is...

  • Lessons learnt from my first iOS Game

    Friday, February 19, 2016
    ๐Ÿ•‘7 minute read
    A few weeks ago I decided to make an iOS game. Iโ€™ve toyed with the idea for a long time, and tried a few times, but never actually made something that was fun enough and worked properly โ€” consequently, Iโ€™ve never actually made a game from start to finish. ...

  • Start using Git

    Tuesday, February 9, 2016
    ๐Ÿ•‘9 minute 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

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