Skip to content

Instantly share code, notes, and snippets.

View julianduque's full-sized avatar
😈
Heroku DevRel

Julián Duque julianduque

😈
Heroku DevRel
View GitHub Profile

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 / latamconfs.md
Last active August 29, 2015 14:14
JS Latam Conferences
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;
import React, { Component } from 'react'
export default class Profile extends Component {
constructor() {
super()
this.handleClick = (e) => {
console.log(this.props)
}
}
<!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>
Verifying that +julianduque is my blockchain ID. https://onename.com/julianduque
> var a = () => { throw new Error() }
undefined
> a() // arrow function is named (as function statement)
Error
    at a (repl:1:23) // we know the error happened at function a
    at repl:1:1
    at REPLServer.defaultEval (repl.js:265:27)
    at bound (domain.js:287:14)
    at REPLServer.runBound [as eval] (domain.js:300:12)
Verifying that "julianduque.id" is my Blockstack ID. https://onename.com/julianduque
@julianduque
julianduque / child.js
Created August 18, 2017 21:07
fork example
const minimist = require('minimist')
const args = minimist(process.argv)
switch (args.name) {
case 'slave':
console.log('Doing things in the slave')
startSlave()
break
default:
0x3172558F6110b37e40335E9D25f7EDAf7c505F4E