This Blog has moved

January 3, 2015

As of December 2014 this blog has moved to, you can find all my old posts and new ones there.

The new blog is hosted on Github Pages and has been completely rebuilt using Hugo.

Publishing a project website to Github Pages

December 14, 2014

Published: 2014-12-14

I recently was faced with moving the website of one of my Github hosted projects from its current non-Github location to Github Pages.

At first glance publishing a project website to Github pages appears fiddly and error prone because you have to bounce between normal code branches and the Github Pages branch which have completely different files and directory structures. This is even trickier when your project’s build workflow also builds your web pages (as mine does).

Read the rest of this entry »


Flux Backbone Todos Example

November 24, 2014

Version 1.1.0 (30 November 2014), persist Todos to LocalStorage.
Version 1.0.0 (14 November 2014).

Live Demo

This didactic Todo app was written to illustrate the Flux DSV (Dispatch Store View) design pattern.

This post is a copy of the Github project README.

Read the rest of this entry »

Switching from Grunt to Jake

August 23, 2014

Revised: 2014-10-05
Published: 2014-08-22

This post discusses why I switched my Rimu Markup project’s build tool to Jake, having previously ported the same project from Make to Grunt.

NOTE: This post has been revised since original publication to more clearly explain Jake synchronicity and to show how I now process task shell commands in parallel.

Read the rest of this entry »

Porting from Make to Grunt

August 16, 2014

Published: 2014-08-16
Updated: 2014-08-22

This post documents my experience porting a Makefile to a Gruntfile in my Rimu Markup project.

NOTE: Since first writing this post I have switched the same project from Grunt to Jake.

Read the rest of this entry »

Hello World written in Kotlin using Android Studio

March 15, 2014

Published: 2014-03-15

Kotlin is Jetbrains successor to Java, it’s evolving rapidly and what documentation there is for writing Android apps is pretty soon out of date to the point where even getting the canonical Hello World up and running can be a frustrating experience.

Here’s how to get a Kotlin version Hello World running on Android using Android Studio 0.5.1.

Read the rest of this entry »

Writing Android event handlers in Kotlin

July 8, 2013

Updated: 2013-08-20: For Kotlin M6 compatibility.
Published: 2013-06-08

Kotlin is Jetbrains successor to Java, this brief post illustrates how Kotlin’s SAM conversions can simplify Android event handlers.

Read the rest of this entry »

Configuring NUT for the Eaton 3S UPS on Ubuntu Linux

February 27, 2013

Published: 2013-02-27

This post explains how to configure Network UPS Tools (NUT) to work with an Eaton 3S UPS on a stand-alone Ubuntu 12.04 PC.

Read the rest of this entry »

Building heterogeneous TypeScript libraries

November 20, 2012

Updated: 2014-09-01
Published: 2012-09-21

A technique for compiling one or more TypeScript source files to a single JavaScript library file that can be used in both the browser and by Node.js applications.

Read the rest of this entry »

Bash completion for Grunt files

November 10, 2012

Published: 2012-09-11

I modified my cake bash completion script for Grunt.

All you need to do is add this completion function and command to your ~/.bashrc file:

Read the rest of this entry »