start new:
tmux
start new with session name:
tmux new -s myname
//COMPILER: Scope, can you register an `Animal` and a `dog`? | |
//SCOPE: Sure. | |
var Animal, dog; | |
//ENGINE: Scope, do you have `Animal` available? | |
//SCOPE: Sure, here it is. | |
//ENGINE: I'm assigning a reference to the anonymous function to `Animal` | |
//COMPILER: I see a function expression with a parameter called `inLove` | |
//COMPILER: Scope, can you register `inLove` inside this function scope? |
The MIT License (MIT) | |
Copyright (c) 2015 Justin Perry | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
the Software, and to permit persons to whom the Software is furnished to do so, | |
subject to the following conditions: |
========================================== ========================================== | |
TMUX COMMAND WINDOW (TAB) | |
========================================== ========================================== | |
List tmux ls List ^b w | |
New -s <session> Create ^b c | |
Attach att -t <session> Rename ^b , <name> | |
Rename rename-session -t <old> <new> Last ^b l (lower-L) | |
Kill kill-session -t <session> Close ^b & |
Clone this repository to ~/.zsh/zsh-autosuggestions (or anywhere else): | |
git clone git://github.com/tarruda/zsh-autosuggestions ~/.zsh/zsh-autosuggestions | |
Clone zsh-syntax-highlighting repository to ~/.zsh/zsh-syntax-highlighting (or anywhere else): | |
git clone git://github.com/jimmijj/zsh-syntax-highlighting ~/.zsh/zsh-syntax-highlighting | |
Load and enable autosuggestions; copy the following snippet and put it to your .zshrc file: | |
# Load zsh-syntax-highlighting. | |
source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh |
{
"build-js": "browserify browser/main.js | uglifyjs -mc > static/bundle.js",
"build-css": "cat static/pages/*.css tabs/*/*.css",
"build": "npm run build-js && npm run build-css",
"watch-js": "watchify browser/main.js -o static/bundle.js -dv",
"watch-css": "catw static/pages/*.css tabs/*/*.css -o static/bundle.css -v",
"watch": "npm run watch-js & npm run watch-css",
git config --global user.name "<First Last>"
git config --global user.email <[email protected]>
git config --global core.editor <vim>
git config --global color.ui true
#!/usr/bin/env ruby | |
# | |
# This script is an astonishing feat of top notch | |
# rockstar craftsmanship. It totally uses artificial | |
# intelligence to extract colors out of tmTheme and | |
# build an itermcolors scheme file for iTerm2. | |
# | |
# I know this sounds crazy, but it actually knows | |
# approximately what colors should be used in the | |
# ANSI list, and tries to find nearest colors from |