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:
// promisey foreach loop | |
'use strict'; | |
var Promise = require('bluebird'), | |
promiseWhile = require('./promiseWhile'); | |
/** | |
* Promisey foreach | |
* |
/** | |
* postgres does not have replace into, so... | |
* | |
* @param {Object} tile specification {tx: ty: zoom:} | |
* @param {Object} quad properties of that tile | |
* @param {Knex.transaction} t database transaction | |
* @return {Promise} | |
*/ | |
function insertOrUpdateTile(tile, quad, t) { |
* { | |
-webkit-filter: grayscale(100%) !important; | |
background-color: white !important; | |
border-color: black !important; | |
color: black !important; | |
font-family: "redacted script" !important; | |
} |
'use strict'; | |
var when = require('when'), | |
delay = require('when/delay'), | |
unfold = require('when/unfold'); | |
function getNumber() { | |
var deferred = when.defer(); | |
deferred.resolve(Math.floor(Math.random() * 10)); | |
return deferred.promise; |
// sign up | |
account.signUp('joe@example.com', 'secret'); | |
// sign in | |
account.signIn('joe@example.com', 'secret'); | |
// sign in via oauth | |
account.signInWith('twitter'); | |
// sign out |
var Worker = require('webworker-threads').Worker; | |
var worker = new Worker('bin/testWorker.js'); | |
var workerSend; | |
(function() { | |
var idCounter = 0; | |
var callbacks = {}; | |
worker.onmessage = function(oEvent) { | |
var message = oEvent.data; |
# A VLC invocation that converts a movie file into an audio file that iTunes will sync to your iPhone | |
/Applications/VLC.app/Contents/MacOS/vlc -I dummy --no-sout-video --sout-audio --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep --sout "#transcode{acodec=s16l,channels=2}:std{access=file,mux=wav,dst=podcast.wav}" movie.mp4 |
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: