Skip to content

Instantly share code, notes, and snippets.

View theevocater's full-sized avatar
🐈‍⬛

Jake Kaufman theevocater

🐈‍⬛
View GitHub Profile
@jvns
jvns / blogs.md
Last active April 16, 2020 09:34
Tech blogs I subscribe to
@dt
dt / lightup.sh
Created October 14, 2013 19:56
lightup script
#!/bin/bash
echo 18 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio18/direction
echo 1 > /sys/class/gpio/gpio18/value
LAST=`curl -s https://api-davidt-staging.foursquare.com/norep.id`
echo "`date` starting up..."
echo "`date` initial id: $LAST"
killfile=/opt/watcher.kill
@bigs
bigs / curry.js
Last active December 13, 2015 17:38
A cute currying function written in pure JavaScript for FUNZIES.
var curry = function (f, args, binding) {
if (typeof f !== 'function' ||
toString.call(args) !== '[object Array]') {
throw new Error('Invalid parameters');
return;
}
if (typeof binding !== 'object') {
binding = this;
}