Skip to content

Instantly share code, notes, and snippets.

View juanmaguitar's full-sized avatar

JuanMa juanmaguitar

View GitHub Profile
@juanmaguitar
juanmaguitar / README.md
Last active February 15, 2017 08:49 — forked from joyrexus/README.md
Node.js streams demystified

A quick overview of the node.js streams interface with basic examples.

This is based on @brycebaril's presentation, Node.js Streams2 Demystified

Overview

Streams are a first-class construct in Node.js for handling data.

Think of them as as lazy evaluation applied to data.

@juanmaguitar
juanmaguitar / .babelrc
Created November 24, 2016 19:39 — forked from ifraixedes/.babelrc
Generators & Async function - Source files used for talks (meetups, etc)
{
"env": {
"development": {
"presets":["es2015-node5"],
"plugins": ["transform-async-to-generator"]
}
}
}
@juanmaguitar
juanmaguitar / 0_reuse_code.js
Last active September 12, 2016 11:04
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/javascript");</script>
@juanmaguitar
juanmaguitar / gist:3656577
Last active September 15, 2016 14:56 — forked from lucasfais/gist:1207002
SUBLIME: Sublime Text 3 - Useful Shortcuts
  1. Sublime Text 3 – Useful Shortcuts (Mac OS X)
  1. General

Shortcut | Description
-——- | -————
⌘⌃P | go to project
⌘R | go to methods
⌃G | go to line
⌘KB | toggle side bar