Skip to content

Instantly share code, notes, and snippets.

@stianeikeland
stianeikeland / subexample.coffee
Created September 24, 2012 16:13
Subscribe to sensor data.
sub = (require 'zmq').socket 'sub'
sub.connect 'tcp://raspberrypi:9999'
sub.subscribe 'sensor'
sub.on 'message', (topic, data) -> console.log "#{topic} => #{data}"
@FingerFeat
FingerFeat / dabblet.css
Created February 18, 2012 22:40
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
html { font-size: 62.5%; }
body { background: black; }
.l-box {
box-sizing: border-box;