Skip to content

Instantly share code, notes, and snippets.

@jaydixit
Created March 9, 2014 23:17
Show Gist options
  • Save jaydixit/9456465 to your computer and use it in GitHub Desktop.
Save jaydixit/9456465 to your computer and use it in GitHub Desktop.

function t { curl dict://dict.org/d:$1:moby-thes }

function internationaldictionary { curl dict://dict.org/d:$1:gcide }

function d { curl dict://dict.org/d:$1:wn | less }

function d2 { curl dict://dict.org/d:${1} | less }

function bible { curl dict://dict.org/d:$1:easton }

function law { curl dict://dict.org/d:$1:bouvier }

function devilsdictionary { curl dict://dict.org/d:$1:devil }

function englishfrench { curl dict://dict.org/d:$1:eng-fra }

function englishhindi { curl dict://dict.org/d:$1:eng-hin }

function frenchenglish { curl dict://dict.org/d:$1:fra-eng }

function hindienglish { curl dict://dict.org/d:$1:hin-eng }

function spanishenglish { curl dict://dict.org/d:$1:spa-eng }

function englishspanish { curl dict://dict.org/d:$1:eng-spa }

function world { curl dict://dict.org/d:$1:world02 }

function world { curl dict://dict.org/d:$1:world02 }

function zip { curl dict://dict.org/d:$1:gaz2k-zips }

function place { curl dict://dict.org/d:$1:gaz2k-places }

function go() { ARGS=$(echo “$@” | sed -e ‘s/ /%20/g’); open “http://www.goosh.org/#$ARGS”; }

function gf() { ARGS=$(echo “$@” | sed -e ‘s/ /+/g’); open “https://www.google.com/search?as_st=y&biw=2101&bih=1198&tbs=isz%3Alt%2Cislt%3A2mp&tbm=isch&sa=1&q=$ARGS&btnG=&oq=&gs_l=”; open “http://www.bing.com/images/search?&q=$ARGS&qft=+filterui:imagesize-wallpaper&FORM=R5IR3”; }

function ask() { ARGS=$(echo “$@” | sed -e ‘s/ /+/g’); open “http://www.metafilter.com/contribute/search.mefi?q=$ARGS&sort=date&site=ask”; open “http://www.quora.com/search?q=$ARGS”; }

function to() { ARGS=$(echo “$@” ); open “http://maps.google.com/maps?f=d&saddr=Crestlea,+ Nepean,+Ontario&daddr=$ARGS,+Ottawa,+Ontario&output=html”; }

function wheresthefucking() { ARGS=$(echo “$@” ); open “https://maps.google.com/maps?q=$ARGS+near+crestlea+crescent+nepean+ontario&hl=en&sll=45.361008,-75.761367&sspn=0.067545,0.134411&doflg=ptk&hq=$ARGS&hnear=Crestlea+Crescent,+Ottawa,+Ontario+K2G,+Canada&t=m&z=12”; }

function where() { ARGS=$(echo “$@” ); open “https://maps.google.com/maps?q=$ARGS+near+crestlea+crescent+nepean+ontario&hl=en&sll=45.361008,-75.761367&sspn=0.067545,0.134411&doflg=ptk&hq=$ARGS&hnear=Crestlea+Crescent,+Ottawa,+Ontario+K2G,+Canada&t=m&z=12”; }

function salientupdate() { rsync -avz Users/jay/Downloads/salient sugarmountain@mimir.dreamhost.com:/home/sugarmountain/jaydixit.com/wordpress/wp-content/themes/salient/; rsync -avz Users/jay/Downloads/salient newyorkwritersintensive@mimir.dreamhost.com:/home/newyorkwritersintensive/newyorkwritersintensive.com/wp-content/themes/salient/; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment