tmux new [-s name] [cmd](:new) - new session
tmux ls(:ls) - list sessionstmux switch [-t name](:switch) - switches to an existing session
| /* eslint-disable new-cap */ | |
| /** | |
| * Lens types. | |
| * =========== | |
| * | |
| * a * b = {fst: a, snd: b} | |
| * a + b = {index: Boolean, value: a | b} | |
| * | |
| * Iso s t a b = forall (~>) . Profunctor (~>) => (a ~> b) -> (s ~> t) |
| " Cycle metasyntactic variables | |
| function! s:CycleMetasyntacticVariables(num) | |
| if type(a:num) != type(0) | |
| return | |
| endif | |
| let vars = ['foo', 'bar', 'baz', 'qux', 'quux', 'corge', 'grault', 'garply', 'waldo', 'fred', 'plugh', 'xyzzy', 'thud'] | |
| let cvar = expand('<cword>') | |
| let i = index(vars, cvar) |
npm install -g yoyo webappnpm install grunt-contrib-jade --save-dev#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!
I hope it helps you too!
fyi @mheiniger and me started with an installer here: https://github.com/mheiniger/webdev-setup
| <?php | |
| class DemoSubject implements SplSubject{ | |
| private $observer, $value; | |
| public function __construct(){ | |
| $this->observers = array(); | |
| } | |
| h scroll left | |
| j scroll down | |
| k scroll up | |
| l scroll right | |
| gg scroll to top of the page | |
| G scroll to bottom of the page | |
| f activate link hints mode to open in current tab | |
| F activate link hints mode to open in new tab | |
| r reload |