Skip to content

Instantly share code, notes, and snippets.

@zouppen
Created November 13, 2014 14:33
Show Gist options
  • Save zouppen/4d9016a7af6d6be8cb91 to your computer and use it in GitHub Desktop.
Save zouppen/4d9016a7af6d6be8cb91 to your computer and use it in GitHub Desktop.
Joel 10⁹ ticker
#!/bin/sh -eu
BORN=`date +%s -d '1983-03-07 18:32'`
LEAPSECS=14
while sleep 1; do
echo `date +%s` - $BORN + $LEAPSECS | bc
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment