start new:
tmux
start new with session name:
tmux new -s myname
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
license: gpl-3.0 | |
height: 960 |
license: gpl-3.0 | |
height: 1030 | |
scrolling: yes |
license: gpl-3.0 |
license: gpl-3.0 | |
height: 960 |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.box1 { background: #1abc9c; } | |
.box2 { background: #3498db; } | |
.box3 { background: #9b59b6; } |
// Count number of stylesheets files and selectors (per file and total) | |
(function countCSSRules() { | |
var results = '', | |
log = '', | |
total = 0; | |
if (!document.styleSheets) { | |
console.log('No stylesheets found!'); | |
return; | |
} else { |
# rake deploy # Push app to heroku:production, migrate, restarts and tail logs | |
# rake deploy:production # Push app to production, migrate, restarts, tag and tail logs | |
# rake deploy:production:config # production config | |
# rake deploy:production:console # production console | |
# rake deploy:production:logs # production logs | |
# rake deploy:production:ps # production ps | |
# rake deploy:production:releases # production releases | |
# rake deploy:staging # Push app to staging, migrate, restarts, tag and tail logs | |
# rake deploy:staging:config # staging config | |
# rake deploy:staging:console # staging console |
/** | |
* Module dependencies | |
*/ | |
var express = require('express'); | |
var fs = require('fs'); | |
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
// img path |