Skip to content

Instantly share code, notes, and snippets.

@kiyor
kiyor / gistify994900.vim
Last active January 1, 2016 17:09
vim conf
let $VIMRUNTIME='~/.vim'
filetype plugin indent on
syntax on
" load plugin, need execute before load colorscheme
execute pathogen#infect()
" header buffer, change your name in *.hd
autocmd BufNewFile *.* call CreateFile()
autocmd BufWritePre,FileWritePre *.* ks|call LastMod()|'s
autocmd BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
@kiyor
kiyor / gistify723013.go
Created December 6, 2013 02:28
golang multi ssh example with id_rsa file
/* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
* File Name : ssh.go
* Purpose :
* Creation Date : 11-18-2013
* Last Modified : Thu Dec 5 23:12:09 2013