Skip to content

Instantly share code, notes, and snippets.

View voodootikigod's full-sized avatar
🚀
Changing the world

Chris Williams voodootikigod

🚀
Changing the world
View GitHub Profile
@voodootikigod
voodootikigod / gist:1155790
Created August 19, 2011 01:33
PyCodeConf Ticket Give-away
Day job:
Favorite Python project:
Favorite Conference:
Python Experience Level:
#!/bin/sh
dns-sd -P "Home iTunes" _daap._tcp local 3689 localhost 127.0.0.1 "Arbitrary text record" &
PID=$!
ssh -C -N -L 3689:localhost:3689 user@host.dyndns.org
kill $PID
@voodootikigod
voodootikigod / kosaka.md
Created June 22, 2015 15:17
JSConf US 2015 Track A Transcript for Mariko Kosaka: Knitting for Javascripters

Is that working? Great. Hi! I'm super excited to be here and speaking at JSConf. My name is Mariko. That's my Twitter handle. I should be automatically tweeting this slide, linked to this slide, so if you're in the back and you want to see that, you can find it there. I will be joining a company called (inaudible) next week, which -- I'm super excited about that. But today I'm not going to talk about software engineering. I'm going to talk about knitting. And just in case you're wondering, like if you are at the wrong conference, I will assure you that I will have enough math and code examples for you to be interested. Just for the guideline, I have a visual relation down on the slide. So the blue dots are indications that

var SerialPort = require("./serialport")
var sp = new SerialPort("/dev/ttyUSB0")
sp.write("OMG USB");
// Reading is not perfect yet
sp.on('data', function(data) {
sys.puts("data");
});
sp.close();
@voodootikigod
voodootikigod / google-aiml-montauk.ipynb
Last active September 27, 2018 20:12
Google AI/ML White Glove
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@voodootikigod
voodootikigod / gist:1007426
Created June 4, 2011 01:09
BS ≈ BreakfastScript
Conditionals
( false :)
console.log "if"
:( true )
console.log "else if"
:()
console.log "else"
@voodootikigod
voodootikigod / husain.md
Created June 22, 2015 14:45
JSConf US 2015 Track A Transcript for Jafar Husain: Async Programming in ES7

All right, everybody! Welcome to my talk. ES2016, the evolution of JavaScript. First a little bit about me. My name is Jafar Husain. I'm a tech lead at Netflix, I work for Falcor, an upcoming open data platform, which we intend to release pretty soon, and I'm also one of Netflix's representatives on TC-39, which is JavaScript's standard's committee. This talk used to be called ES7, the evolution of JavaScript, but something happened a couple of committee meetings ago. We decided to change ES6 to ES2015 and ES7 to ES2016. I want to explain this name change. We as a committee want to start shipping JavaScript every year. Just the way you would ship software in an agile way, we want to add features and ship them

RUN apt-get install socat
var five = require("johnny-five"),
// or "./lib/johnny-five" when running from the source
board = new five.Board();
board.on("ready", function() {
// Create an Led on pin 13 and strobe it on/off
// Optionally set the speed; defaults to 100ms
(new five.Led(13)).strobe();