Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
@echo off | |
if "%1" == "" goto x86 | |
if not "%2" == "" goto usage | |
@set IE_BIN=%ProgramFiles%\Internet Explorer\iexplore.exe | |
@set PHANTOMJS_BIN=%APPDATA%\npm\node_modules\phantomjs\lib\phantom\phantomjs.exe | |
@doskey subl="C:\Program Files\Sublime Text 2\sublime_text.exe" $* | |
if /i %1 == x86 goto x86 |
vendor/ | |
.bundle/ | |
node_modules/ | |
Gemfile.lock |
var numberEval = function(value){ return (typeof value === 'number') ? value : parseInt(value,10); }; | |
var p = [ | |
{"paramName":"reinYear","val":numberEval}, | |
{"paramName":"stateCode","val":numberEval}, | |
{"paramName":"countyCode","val":numberEval}, | |
{"paramName":"commodityCode","val":numberEval}, | |
{"paramName":"insurancePlanCode","val":numberEval}, | |
{"paramName":"practiceCode","val":numberEval}, | |
{"paramName":"typeCode","val":numberEval} |
#!/bin/sh | |
# | |
# Attach to tmux session named the same as current directory. | |
# | |
tmux attach -t `basename $PWD` |
git checkout <hash A> | |
git diff –patch <hash A> <hash B> > patch.patch | |
patch –p1 –N < patch.patch | |
// Remove any rej files generated from patch | |
for i in $(git status | awk '/**.rej/{print $2}'); do rm $i; done | |
# Stop PostgreSQL from auto starting | |
sudo launchctl unload -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist | |
# Enable PostgreSQL to auto start | |
sudo launchctl load -w /Library/LaunchDaemons/com.edb.launchd.postgresql-9.3.plist | |
# Start postgres | |
$ sudo su postgres | |
Password: | |
bash-3.2$ pg_ctl -D /Library/PostgreSQL/9.3/data/ start |
# http://docs.rubygems.org/read/chapter/11 | |
--- | |
gem: --no-ri --no-rdoc | |
benchmark: false | |
verbose: true | |
update_sources: true | |
sources: | |
- http://gems.rubyforge.org/ | |
- http://rubygems.org/ | |
backtrace: true |
// Resources available from | |
// http://www.redmondevents.com/virtual/vslive/2014/live360/Default.aspx | |
// Javascript in javascript console | |
//$(".zip a").each(function( index ) { | |
// console.log( this.href); | |
//}); | |
// | |
//$(".pdf a").each(function( index ) { | |
// console.log( this.href); |