I hereby claim:
- I am awkward-ninja on github.
- I am kenmerthe (https://keybase.io/kenmerthe) on keybase.
- I have a public key ASDD91qDfI7HQn_IXIm7cPSEQysR_5R3VPOIVZE441UNmgo
To claim this, I am signing this object:
class Option { | |
constructor(some, value) { | |
this.some = some | |
this.value = value | |
} | |
map(next) { | |
return this.some ? next(this.value) : this | |
} |
# Based on the following articles | |
# https://blog.programster.org/generating-gpg-master-and-subkeys | |
# https://risanb.com/code/backup-restore-gpg-key/ | |
# https://gist.github.com/oseme-techguy/bae2e309c084d93b75a9b25f49718f85 | |
gpg_keyid() { | |
gpg2 --list-secret-keys \ | |
| sed -n 's/^ \(\w*\)/\1/p' | |
} |
.git |
I hereby claim:
To claim this, I am signing this object:
const | |
PARAMS_RE = /^[^(]*\(([^)]*)\)/m, | |
COMMENT_RE = /((\/\/.*$)|(\/\*.*?\*\/))/mg, | |
SPACE_RE = /\s*/mg | |
const params = String( pred ) | |
.match( PARAMS_RE )[ 1 ] | |
.replace( COMMENT_RE, '' ) | |
.replace( SPACE_RE, '' ) | |
.split( ',' ) |
'use strict'; | |
class SequencedNumber extends Number { | |
advance() { this._next = this._current + 1; } | |
constructor (initial) { | |
super(initial); | |
this._current = initial; | |
this._next = initial; | |
} |
struct signal { | |
byte curr; | |
byte prev; | |
}; | |
struct signalDb { | |
byte curr; | |
byte prev; | |
signal db; | |
}; |
ARDUINO_DIR = /usr/share/arduino/hardware/arduino | |
ARDUINO_CORE_DIR = $(ARDUINO_DIR)/cores/arduino | |
ARCH = atmega328p | |
CORE_SRC = \ | |
$(ARDUINO_CORE_DIR)/wiring.c \ | |
$(ARDUINO_CORE_DIR)/wiring_digital.c | |
.PHONY: all |