I hereby claim:
- I am neilk on github.
- I am neilk (https://keybase.io/neilk) on keybase.
- I have a public key whose fingerprint is B969 3202 D54C BBA2 608F 1778 0CE3 13EC F872 D474
To claim this, I am signing this object:
| 10 HGR2: HCOLOR=3 | |
| 11 R0 = 70 | |
| 12 TAU = 6.282 | |
| 13 SCREENX = 279: SCREENY = 191 | |
| 15 CENTERX = INT(SCREENX / 2): CENTERY = INT(SCREENY / 2) | |
| 16 LINEDOTS = 3 | |
| 17 R = R0 | |
| 18 CIRCUM = TAU*R0: S = 1 | |
| 19 J = 0: | |
| 20 REM J-LOOP |
| #!/bin/bash | |
| # Find dependency changes in a branch in a scala project using sbt. | |
| # You have to have the https://github.com/jrudolph/sbt-dependency-graph plugin installed. | |
| # the standard `sed` on Mac OS X won't work, so make sure to install GNU sed via brew. | |
| branch="$1" |
| /** | |
| * Retry a promise until success, up to a certain number of times. | |
| * Returns the last error if it reaches maximum attempts. | |
| * | |
| * @param maxTries {Number} positive integer | |
| * @param p {Promise} | |
| * @return {Promise} | |
| */ | |
| function retry (maxTries, p) { | |
| var tries = 0; |
| #!/bin/bash | |
| git filter-branch --force --index-filter \ | |
| "git rm -r --cached --ignore-unmatch $1" \ | |
| --prune-empty --tag-name-filter cat -- --all |
| Verifying that +neilk is my openname (Bitcoin username). https://onename.io/neilk |
| // WS2812 "Neopixel" LED Driver | |
| // Copyright (C) 2014 Electric Imp, inc. | |
| // | |
| // Uses SPI to emulate 1-wire | |
| // http://learn.adafruit.com/adafruit-neopixel-uberguide/advanced-coding | |
| // This class requires the use of SPI257, which must be run at 7.5MHz | |
| // to support neopixel timing. | |
| const SPICLK = 7500; // kHz |
I hereby claim:
To claim this, I am signing this object:
| var db = Knex({ /* connection properties */ }); | |
| function sessionToAccount(session) { | |
| return db('accounts').where('user_ID', session.user_ID).select(); | |
| } | |
| function withdraw(account, amount) { | |
| if (account.balance < amount) { | |
| throw new Error("insufficient funds"); | |
| } |