Skip to content

Instantly share code, notes, and snippets.

View penghou620's full-sized avatar

Peng Hou penghou620

  • LoadSmart Inc.
  • New York
View GitHub Profile
syntax on
set tabstop=4
set autoindent
set nu
set background=dark
"Comment
"colorscheme solarized
nmap <CR> o<ESC>k
nmap <SPACE> i<SPACE><ESC>
set-window-option -g mode-keys vi
# set prefix key fro C-b to C-a
set-option -g prefix C-n
#####################################
# Key Binding
# bind-key [-cnr] [-t key-table] key command [arguments]
# -n: ignore prefix key
#####################################
## split
@penghou620
penghou620 / Startup
Created April 21, 2013 17:44
Launch the dependences of Hilary including: cassandra, redis, elasticsearch, rabbitmq
#!/bin/bash
#Program:
# This program runs the dependences of HIlary:
# cassandra
# redis
# elasticsearch
# rabbitmq
#Parameter:
# config
# config the script even if there's configuration file exist