- Sublime Text 3 – Useful Shortcuts (Mac OS X)
- General
Shortcut | Description
-——- | -————
⌘⌃P | go to project
⌘R | go to methods
⌃G | go to line
⌘KB | toggle side bar
Shortcut | Description
-——- | -————
⌘⌃P | go to project
⌘R | go to methods
⌃G | go to line
⌘KB | toggle side bar
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> |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
{ | |
"env": { | |
"development": { | |
"presets":["es2015-node5"], | |
"plugins": ["transform-async-to-generator"] | |
} | |
} | |
} |
A quick overview of the node.js streams interface with basic examples.
This is based on @brycebaril's presentation, Node.js Streams2 Demystified
Streams are a first-class construct in Node.js for handling data.
Think of them as as lazy evaluation applied to data.