Articles
Designing a running training plan
Nov 7, 2019
π
5 minutes readπ
ArticleI like to run. I run a lot, and I've found myself running every day of the week with little focus on what I want to achieve. Every day is the same 4-8km with a longer run on a Sunday. It's quite hard to progress myself, and measure my progress when I've be...
Theming Slack using a message
Feb 15, 2019
π
less than a minute readπ
ArticleThe Slack (desktop) client allows you to create your own themes. But did you know that you can also set the theme via a message. Simply send a message with the contents being 8 comma separated hex codes. You don't have to send the message to anybody either...
Getting to grips with CSS Grids
Oct 6, 2018
π
7 minutes readπ
ArticleGrids are the latest layout model to join the CSS spec after flex. Like flex, grids open up a whole new world of layout possibilities that will make every web developer's life a whole lot easier. Unlike flex, grids allow you to use more than one dimension ...
Create a basic ReactJS app with no config
Apr 11, 2017
π
11 minutes readπ
ArticleThere are many ways that a ReactJs app can be created. The aim of this guide is to get up and running with a basic react app as quickly as possible.
That means no other fancy libraries such as Redux, Router, Relay or anything else beginning with R (seems ...
Hide number input spinners using CSS
Jul 18, 2016
π
less than a minute readπ
ArticleHTML 5 number pickers are great, since they help restrict users to the input ranges required in certain cases. Some browsers add little up and down arrows to help the user step though numbers.
On some browsers the pickers show by default even when the for...
Running a simple server while developing locally
Jul 12, 2016
π
2 minutes readπ
ArticleWhen youβre building a website one of the most important steps is the building of the templates. Building static templates is almost always quicker than building integrated templates such as WordPress, Django or Rails.
One of the biggest issues with using...
Javascript best practices
Jul 10, 2016
π
4 minutes readπ
ArticleWhere 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
Jun 14, 2016
π
8 minutes readπ
ArticleThis 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
Feb 19, 2016
π
7 minutes readπ
ArticleA 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
Feb 9, 2016
π
9 minutes readπ
ArticleTurning 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 minutes readπ
ArticleThere 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...