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

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 »

Reclaiming the Windows 8 Desktop

October 26, 2012

Updated: 2013-02-05
Updated: 2013-01-21
Published: 2012-10-28

Window 8 has a touch-screen user interface designed for media consumption on small-screen devices (phones and tablets) — the default Metro user interface is unusable for content creation tasks on desktop PCs. If you are new to Windows 8 and you plan to use it on a desktop PC with existing desktop applications you will find the out-of-the-box experience miserably frustrating. This article will help you transform your Windows 8 desktop into a sane Windows 7 style desktop.

Read the rest of this entry »

Blogger Backend for AsciiDoc

September 11, 2012

Published: 2012-09-11

The AsciiDoc backend plugin for Google’s Blogger blog hosting service is hosted on Github, it generates Blogger friendly HTML markup from AsciiDoc source.

Read the rest of this entry »

Bash completion for Jake files

June 17, 2012

Published: 2012-06-18

To implement bash(1) tab completion for Jakefile task names all you need to do is add this completion function and command to your ~/.bashrc file:

See also my previous post Bash completion for cake files.

Read the rest of this entry »

TypesScript and CoffeeScript ports of the Meteor Leaderboard

April 22, 2012

Published: 2012-04-23
Updated: 2012-04-29
Updated: 2012-11-05

I added a TypeScript port and login authenication — changes that made the original post out of date.

Read the rest of this entry »

Bash completion for cake files

November 1, 2011

Updated: 2012-08-19
Updated: 2012-06-18
Updated: 2012-04-06
Published: 2011-11-01

To implement bash(1) tab completion for Cakefile task names all you need to do is add this completion function and command to your ~/.bashrc file:

Read the rest of this entry »

Testing CoffeeScript apps with Selenium

October 25, 2011

Published: 2011-10-25

This blog entry describes how to write functional tests for CoffeeScript web apps using Selenium. By way of example I’ll describe how I added Selenium tests to the Routeless Backbone Contacts tutorial app and automated it’s execution with a Cakefile.

Read the rest of this entry »

Compiling CoffeeScript with Vim

October 20, 2011

Published: 2011-10-20
Updated: 2012-04-24
Updated: 2012-06-19

You can configure Vim to automatically compile CoffeeScript files when you save them from within Vim, it’s easy, just add an autocmd to run the CoffeeScript compiler to your ~/.vimrc file:

Read the rest of this entry »