This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem list | cut -d" " -f1 | xargs gem uninstall -aIx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b.com 127.0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"source $VIMRUNTIME/vimrc_example.vim | |
""""""""""""""""""""""""""""""""""""""" | |
"平台判断 | |
""""""""""""""""""""""""""""""""""""""" | |
function! MySys() | |
if has("win32") | |
return "windows" | |
else | |
return "linux" |