Keith Gaughan

An attempt at public introspection

Tools

Doing

· 1min

I haven’t posted anything here in a very long time. I figure I’d might as well share a small tool I knocked together.

Here it is:

#!/bin/sh

set -eu

usage () {
    echo "usage: ${0##*/} [-h] [MESSAGE]"
}

# Ensure data directory exists
: "${DOING_ROOT:=${XDG_DATA_HOME:-$HOME/.local/share}/doing}"
mkdir -p …
Tools

From my ~/bin: find-duplicates

· 5min

Note

This one was relatively populate for whatever reason. I’d recommend you use something like duff these days, though find-duplicates still works better in some circumstances.

I’m still kind of happy with this code though. Here is a cache of the original post.

This is is starting to …

Tools

PLGX: a DHTML-based presentation system to put me to sleep

· 1min

My sleep patterns are really screwed up.

I ended drifting off to sleep at 9pm last night, and woke around 3.30am. In an effort to send myself back to sleep, I knocked out PLGX, a small DHTML-based presentation system for those of us who neither want nor need …