Skip to content

Instantly share code, notes, and snippets.

View theleoborges's full-sized avatar

Leonardo Borges theleoborges

View GitHub Profile
@theleoborges
theleoborges / gist:1686173
Created January 27, 2012 00:42 — forked from boundvariable/gist:1685985
Chapter 5 example
//I guess I'd go with straight functions into a module you could mixin or use directly OR objects...
//On the first option, something like this:
var app = app || {};
app.server = app.server || {};
app.server.http = function() {...};
app.server.get = function() {...};
app.server.post = function() {...};
//And for the second option:
@theleoborges
theleoborges / DepthJS setup
Created April 29, 2012 11:41 — forked from gabriel/DepthJS setup
xcode jpeg tiff dylib fix
# Install ZeroMQ
sudo brew install zmq
easy_install pyzmq
[0] http://www.zeromq.org/bindings:python
# Install OpenCV
sudo brew install opencv
# Install libusb