content top

golang ssh example

Looks like all golang ssh example online is not working for new ssh golang repo which from "code.google.com/p/go.crypto/ssh" Finally copy most of code from library’s testing code, and make it work. This is the result /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. * File Name : ssh.go * Purpose : * Creation Date : 11-18-2013 * Last Modified : Thu Dec 5 23:12:09 2013 * Created By : Kiyor _._._._._._._._._._._._._._._._._._._._._.*/

Read More

My vim conf

These day take long time to configure my vim environment,  finally make my vim like IDE. Share my experience here. First, this is my .vimrc 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...

Read More
content top