Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| server { | |
| listen 80; | |
| server_name <your.site.com>; | |
| root /var/www/vhosts/<your.site.com>/site/www/; | |
| #site root is redirected to the app boot script | |
| location = / { | |
| try_files @site @site; | |
| } |
| # 0 is too far from ` ;) | |
| set -g base-index 1 | |
| # Automatically set window title | |
| set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| #set -g default-terminal screen-256color | |
| set -g status-keys vi | |
| set -g history-limit 10000 |
This gist assumes:
| ## curl the raw version of this gist like this: | |
| ## curl -s -L https://gist.github.com/bixu/5316445/raw/[revision]/ruby-2.0.0-p0+on+smartos | bash | |
| pkgin -y install build-essential libyaml readline libxml2 libxslt postgresql92-client | |
| git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
| git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
| echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile |
| ## FastCGI | |
| server { | |
| location ~ /app.* { | |
| fastcgi_pass 127.0.0.1:9000; | |
| include fastcgi_params; | |
| } | |
| } | |
| ## Reverse Proxy (이 방식으로 하면 http.ListenAndServe로 해야함) | |
| server { |
| #!/bin/bash | |
| mkdir -p ~/.ssh | |
| # generate new personal ed25519 ssh keys | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob thijssen <[email protected]>" | |
| ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_robtn -C "rob thijssen <[email protected]>" | |
| # generate new host cert authority (host_ca) ed25519 ssh key | |
| # used for signing host keys and creating host certs |
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |