start new:
tmux
start new with session name:
tmux new -s myname
| { | |
| "account": { | |
| "attr_1": "value", | |
| "attr_2": "value" | |
| } | |
| } |
| https://docs.microsoft.com/en-us/azure/architecture/best-practices/api-design | |
| https://github.com/Microsoft/api-guidelines/blob/master/Guidelines.md | |
| https://cloud.google.com/apis/design/ | |
| https://www.thoughtworks.com/insights/blog/rest-api-design-resource-modeling | |
| https://developer.github.com/v3/repos/merging/ | |
| https://json-ld.org/spec/latest/json-ld-api-best-practices/ |
| set -g default-terminal "screen-256color" | |
| set -g history-limit 10000 | |
| # use VI | |
| set-window-option -g mode-keys vi | |
| unbind -t vi-copy Enter | |
| bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" | |
| # y and p as in vim | |
| bind Escape copy-mode |
| syntax enable | |
| set nocompatible | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| Plugin 'VundleVim/Vundle.vim' |
| # This is a configuration file for ProGuard. | |
| # http://proguard.sourceforge.net/index.html#manual/usage.html | |
| -dontusemixedcaseclassnames | |
| -dontskipnonpubliclibraryclasses | |
| -verbose | |
| # Optimization is turned off by default. Dex does not like code run | |
| # through the ProGuard optimize and preverify steps (and performs some | |
| # of these optimizations on its own). | |
| -dontoptimize | |
| -dontpreverify |
| Resource.h | |
| ---------- | |
| @interface Resource : NSObject | |
| + (void)save:(NSError **)error; | |
| @end | |
| Resource.m | |
| ---------- | |
| @implementation Resource | |
| + (void)save:(NSError **)error { |
| set -g default-terminal "screen-256color" | |
| set -g history-limit 100000 | |
| # use VI | |
| set-window-option -g mode-keys vi | |
| set -g mode-keys vi | |
| # Use ctrl-e instead of ctrl-b | |
| set -g prefix C-e | |
| unbind C-b |
| spawn = require('child_process').spawn | |
| express = require('express') | |
| app = express() | |
| generatePDF = (callback) -> | |
| child = spawn('phantomjs', [__dirname+'/render.coffee']) | |
| child.stdout.on 'data', (data) -> | |
| callback(null, data) | |
| child.stdout.on 'error', (err) -> | |
| callback(err) |
| set -g default-terminal "screen-256color" | |
| set -g history-limit 100000 | |
| # use VI | |
| set-window-option -g mode-keys vi | |
| set -g mode-keys vi | |
| # Use ctrl-e instead of ctrl-b | |
| set -g prefix C-e | |
| unbind C-b |