I hereby claim:
- I am tke on github.
- I am phldavies (https://keybase.io/phldavies) on keybase.
- I have a public key ASCFOuZT-qowa_z718UH3AbLGM6Bsl-XH_VfP64RLyOGCAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env sh | |
set -o errexit | |
set -o pipefail | |
readonly BOARD=${1?Missing leaderboard id} | |
readonly YEAR=${2:-$(date +%Y)} | |
readonly LOG_LIMIT=${3:-20} | |
readonly BOARD_CACHE="/tmp/.aoc-cache" | |
readonly BOARD_FILE="$BOARD_CACHE/leaderboard-$BOARD-$YEAR.json" |
"use strict"; | |
const Promise = require('bluebird'); | |
require('seneca')() | |
.use(function testPlugin(options) { | |
const seneca = this; | |
const act = Promise.promisify(seneca.act, seneca); | |
seneca.add("cmd:test", (args, done) => { | |
act("cmd:log", {msg: "hello world"}) | |
.then(r => done(null, r)) |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
;#Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
#SingleInstance force | |
SetFormat, float, 03 ;remove decimals from joystick values | |
;This script will activate your game window whenever | |
;any joystick axis changes. Handy for when you're | |
;Alt-Tabbed out of the game on your second monitor. |