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

Clase del 27 de Septiembre

Descargar audio

Repaso texto Platon

Condiciones estructurales: La logica se va a encargar de los aspectos estructurales.

  • Aplican la idea de validez e invalidez mas no verdad y falsedad.

Sujeto + Predicado

var five = require('johnny-five');
five.Board().on('ready', function () {
var servo = new five.Servo(9);
this.repl.inject({
servo: servo
});
});
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
pragma solidity ^0.4.11;
contract HelloWorld {
uint public balance;
address public owner;
function HelloWorld() public {
owner = msg.sender;
balance = 0;
}
...
up to date in 1.85s
[!] 3 vulnerabilities found [2672 packages audited]
    Severity: 2 low | 1 high
    Run `npm audit` for more detail

Ok, let's run npm audit

@julianduque
julianduque / dns.md
Last active May 29, 2018 13:24
DNS Command Line Configuration on macOS

DNS Command Line Configuration on macOS

The following commands work on macOS High Sierra, not tested in previous versions

Get DNS Resolvers

$ scutil --dns | grep 'nameserver\[[0-9]*\]'