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
PORT=5566 | |
ssh_server='ubuntu@crmdev' | |
# using mac | |
if [[ -n `which pbcopy` ]]; then | |
echo "@Mac" | |
copy_command='pbcopy' | |
elif [[ -n `which xsel` ]]; then | |
echo "you can use xsel on ubuntu" | |
copy_command='xsel' |
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
" Prettify coffee require statement | |
" Maintainer: asnowwolf<[email protected]> | |
" Last Change: 2014-01-01 | |
if exists("g:loaded_require_formatter") | |
finish | |
endif | |
let g:loaded_require_formatter = 1 | |
function s:format() |
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
* { background-color: rgba(255,0,0,.2); } | |
* * { background-color: rgba(0,255,0,.2); } | |
* * * { background-color: rgba(0,0,255,.2); } | |
* * * * { background-color: rgba(255,0,255,.2); } | |
* * * * * { background-color: rgba(0,255,255,.2); } | |
* * * * * * { background-color: rgba(255,255,0,.2); } |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
utils = require('utils') | |
fs = require('fs') | |
casper = require("casper").create( | |
verbose: true | |
logLevel: "warning" # 想看更详细的log的话可以改成"debug" | |
pageSettings: | |
loadImages: false | |
loadPlugins: false | |
userAgent: "Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20100101 Firefox/17.0" |
NewerOlder