Skip to content

Instantly share code, notes, and snippets.

View RobinWu's full-sized avatar

吴少斌 RobinWu

View GitHub Profile
"source $VIMRUNTIME/vimrc_example.vim
"""""""""""""""""""""""""""""""""""""""
"平台判断
"""""""""""""""""""""""""""""""""""""""
function! MySys()
if has("win32")
return "windows"
else
return "linux"
b.com 127.0.0.1
# upload your file to tu.6.cn
# short url by tinyurl
# copy the url to you clipboard
require 'rubygems'
require "win32/clipboard"
include Win32
$filename = ARGV[0]
TYPES = %w{.jpg .gif .png .jpeg}
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
= snippet
String random : Gist 164989
bash alias : Gist 162611
rspec model test : Gist 163176
merge git version : Gist 168847
ext croe use google cdn : Gist 171726
jquery croe use google cdn : Gist 144591
jquery window popup a iframe : Gist 290d8e313ddea49752e8
install agi-vim : Gist 173665
shell gist : Gist 173672