Skip to content

Instantly share code, notes, and snippets.

😈

Julián Duque julianduque

😈
Block or report user

Report or block julianduque

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:c40df0057767aabc6458
Verifying that +julianduque is my blockchain ID. https://onename.com/julianduque
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Streaming</title>
</head>
<body>
<img id="video" />
<script src="/socket.io/socket.io.js"></script>
<script>
View profile.jsx
import React, { Component } from 'react'
export default class Profile extends Component {
constructor() {
super()
this.handleClick = (e) => {
console.log(this.props)
}
}
View config.md
root@leviathan:~# cat /etc/nginx/sites-enabled/medellinjs 
server {
  server_name medellinjs.org www.medellinjs.org;

  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;
@julianduque
julianduque / latamconfs.md
Last active Aug 29, 2015
JS Latam Conferences
View latamconfs.md
View keybase.md

Keybase proof

I hereby claim:

  • I am julianduque on github.
  • I am julianduque (https://keybase.io/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
julianduque / levelup.md
Last active Aug 29, 2015 — forked from dshaw/levelup.md
Leveling up in Node.js
View levelup.md

Core Concepts

Required

  • 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
@julianduque
julianduque / index.html
Created Oct 19, 2014
Realtime Webcam with Primus and OpenCV
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HAN-Bot Realtime</title>
<script src="/primus/primus.js"></script>
</head>
<body>
<img id="camera" />
<script>
@julianduque
julianduque / bbb.sh
Last active Aug 29, 2015
Share internet with BeagleBone Black
View bbb.sh
#!/bin/bash
# bbb.sh -- Share Internet with the BeagleBone Black
# using my Linux HOST as a router
bbbAddr="192.168.7.2"
hostAddr="192.168.7.1"
# Configure IP forwarding on HOST
echo "Setting up Routing"
sudo iptables -A POSTROUTING -t nat -j MASQUERADE
View rc.lua
-- Standard awesome library
local gears = require("gears")
local awful = require("awful")
awful.rules = require("awful.rules")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
local vicious = require("vicious")
-- Theme handling library
local beautiful = require("beautiful")
You can’t perform that action at this time.