As of December 2014 this blog has moved to blog.srackham.com, 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.
As of December 2014 this blog has moved to blog.srackham.com, 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.
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).
Version 1.1.0 (30 November 2014), persist Todos to LocalStorage.
Version 1.0.0 (14 November 2014).
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.
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.
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.
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.
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.
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.
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.
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: