Skip to content

Instantly share code, notes, and snippets.

View main.js
myMusic = {};
myMusic.Song = Backbone.Model.extend({});
myMusic.SongView = Backbone.View.extend({
tagName: "li",
className: "item",
template: Handlebars.compile($("#song-template").html()),
initialize: function () {
View gist:11131337
name: 'BeagleBone Black',
bonescript: '0.2.4',
version: '0A5C',
serialNumber: '2813BBBK4391' }
julianduque / leds.js
Created Apr 23, 2014
LEDs desde FIrebase
View leds.js
var five = require('johnny-five');
var Firebase = require('firebase');
var board = new five.Board();
var db = new Firebase('');
var leds = db.child('leds');
View rc.lua
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
awful.rules = require("awful.rules")
-- Widget and layout library
local wibox = require("wibox")
local vicious = require("vicious")
-- Theme handling library
local beautiful = require("beautiful")
julianduque /
Last active Aug 29, 2015
Share internet with BeagleBone Black
# -- Share Internet with the BeagleBone Black
# using my Linux HOST as a router
# Configure IP forwarding on HOST
echo "Setting up Routing"
sudo iptables -A POSTROUTING -t nat -j MASQUERADE
julianduque / index.html
Created Oct 19, 2014
Realtime Webcam with Primus and OpenCV
View index.html
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>HAN-Bot Realtime</title>
<script src="/primus/primus.js"></script>
<img id="camera" />
julianduque /
Last active Aug 29, 2015 — forked from dshaw/
Leveling up in Node.js

Core Concepts


  • Understand JavaScript / Node.js Asynchronous nature
  • Understand callbacks, EventEmitter and error handling
  • Understand both async and sync Filesystem API
  • Feel comfortable writing Node.js modules
  • Write http server and clients

Keybase proof

I hereby claim:

  • I am julianduque on github.
  • I am julianduque ( on keybase.
  • I have a public key whose fingerprint is 5482 7343 0CCC C348 8925 2769 FC92 F450 09DA B688

To claim this, I am signing this object:

julianduque /
Last active Aug 29, 2015
JS Latam Conferences
root@leviathan:~# cat /etc/nginx/sites-enabled/medellinjs 
server {

  location / {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_set_header X-NginX-Proxy true;