start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/bash | |
| echo -n "GitHub User: " | |
| read USER | |
| echo -n "GitHub Password: " | |
| read -s PASS | |
| echo "" | |
| echo -n "GitHub Repo (e.g. foo/bar): " |
| <script src="https://fb.me/react-with-addons-15.1.0.js"></script> | |
| <script src="https://fb.me/react-dom-15.1.0.js"></script> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="description" content="Building the observable pattern"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> |
| /** | |
| * @jsx React.DOM | |
| */ | |
| var React = require('react'), | |
| MyReactComponent = React.createClass({ | |
| // The object returned by this method sets the initial value of this.state | |
| getInitialState: function(){ | |
| return {}; |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
with a hat tip to Sublime Text 2 Shortcuts
| ⌘; | autocomplete |
| ⌘⌥B | instant replay |
| ⌘⌥E | search across all tabs |
| // Node.js CheatSheet. | |
| // Download the Node.js source code or a pre-built installer for your platform, and start developing today. | |
| // Download: http://nodejs.org/download/ | |
| // More: http://nodejs.org/api/all.html | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |