Skip to content

Instantly share code, notes, and snippets.

@hoverbird
Created January 24, 2010 23:54
Show Gist options
  • Save hoverbird/285521 to your computer and use it in GitHub Desktop.
Save hoverbird/285521 to your computer and use it in GitHub Desktop.
My Quix Commands
> This is a Quix Command File
>
> For the syntax of this file, please refer to http://quixapp.com/syntax/
>
@hoverbird's extra commands
rl javascript:function%20iprl5(){var%20d=document,z=d.createElement('scr'+'ipt'),b=d.body,l=d.location;try{if(!b)throw(0);d.title='(Saving...)%20'+d.title;z.setAttribute('src',l.protocol+'//www.instapaper.com/j/vivorXYWdEDu?u='+encodeURIComponent(l.href)+'&t='+(new%20Date().getTime()));b.appendChild(z);}catch(e){alert('Please%20wait%20until%20the%20page%20has%20loaded.');}}iprl5();void(0) Read Later with Instapaper
ip http://www.instapaper.com/u Instapaper
tracker http://pivotaltracker.com/projects/33106
edit http://gist.github.com/gists/285521/edit Edit my Quix Commands
readable javascript:(function(){readStyle='style-newspaper';readSize='size-large';readMargin='margin-wide';_readability_script=document.createElement('SCRIPT');_readability_script.type='text/javascript';_readability_script.src='http://lab.arc90.com/experiments/readability/js/readability.js?x='+(Math.random());document.getElementsByTagName('head')[0].appendChild(_readability_script);_readability_css=document.createElement('LINK');_readability_css.rel='stylesheet';_readability_css.href='http://lab.arc90.com/experiments/readability/css/readability.css';_readability_css.type='text/css';_readability_css.media='screen';document.getElementsByTagName('head')[0].appendChild(_readability_css);_readability_print_css=document.createElement('LINK');_readability_print_css.rel='stylesheet';_readability_print_css.href='http://lab.arc90.com/experiments/readability/css/readability-print.css';_readability_print_css.media='print';_readability_print_css.type='text/css';document.getElementsByTagName('head')[0].appendChild(_readability_print_css);})(); Readability
magma javascript:var%20d=document;f='http://mag.ma/videos/bookmarklet';l=d.location;e=encodeURIComponent;p='?v=2&u='+e(l.href)+'&t='+e(d.title);a=function(){if(n=window.open(f+p,'magma','toolbar=0,status=0,resizable=1,scrollbars=1,width=700,height=435')){n.focus();}else{l.href=f+p;}};a(); Add to Magma
reader javascript:var%20b=document.body;var%20GR________bookmarklet_domain='http://www.google.com';if(b&&!document.xmlVersion){void(z=document.createElement('script'));void(z.src='http://www.google.com/reader/ui/link-bookmarklet.js');void(b.appendChild(z));}else{} Note in Google Reader
fav http://favstar.fm/users/%s Favstar.fm user
gh http://github.com/search?type=Everything&language=&q=%s Github search
u http://twitter.com/%s Twitter User
t http://twitter.com/ Twitter
parchment http://parchment.googlecode.com/svn/trunk/parchment.html?story=%s Play interactive fiction with Parchment
trac https://trac.twitter.com/twttr/ticket/%s Trac Ticket
bit javascript:var%20e=document.createElement('script');e.setAttribute('language','javascript');e.setAttribute('src','http://bit.ly/bookmarklet/load.js');document.body.appendChild(e);void(0); Make a bit.ly link
cal javascript:var%20s;if(window.getSelection){s=window.getSelection();}else{s=document.selection.createRange().text;}var%20t=prompt('Please%20enter%20a%20description%20for%20the%20event',s);if(t){void(window.open(encodeURI('http://www.google.com/calendar/event?ctext='+t+'&action=TEMPLATE&pprop=HowCreated%3AQUICKADD'),'gcal'));}else{void(s);} Add event to Google Calendar
down http://downforeveryoneorjustme.com/%d Is this site downforeveryoneorjustme?
gma https://mail.google.com/mail/s/#tl/search/%s Search Gmail
gsub javascript:var%20b=document.body;if(b){void(z=document.createElement('script'));void(z.src='http://www.google.com/reader/ui/subscribe-bookmarklet.js');void(b.appendChild(z));}else{location='http://www.google.com/reader/view/feed/'+encodeURIComponent(location.href)} Subscribe in Google Reader
ltweet tweetie:%5B%t%5D%28%r%29 Send current page link to Tweetie
mob javascript:function%20iptxt(){var%20d=document;try{if(!d.body)throw(0);window.location='http://www.instapaper.com/text?u='+encodeURIComponent(d.location.href);}catch(e){alert('Please%20wait%20until%20the%20page%20has%20loaded.');}}iptxt();void(0) Make page into purty Instapaper mobile style
of javascript:window.location='omnifocus:///add?note='+encodeURIComponent(window.location)+'&name='+encodeURIComponent(document.title) Send to OmniFocus
pb javascript:q=location.href;p=document.title;void(open('http://pinboard.in/add?url='+encodeURIComponent(q)+'&title='+encodeURIComponent(p),'Pinboard',%20'toolbar=no,width=700,height=350')); PB 2
ci http://ci.twitter.corp:8080/ CI
pbl javascript:q=location.href;p=document.title;void(t=open('http://pinboard.in/add?later=yes&noui=yes&jump=close&url='+encodeURIComponent(q)+'&title='+encodeURIComponent(p),'Pinboard','toolbar=no,width=100,height=100'));t.blur(); pinboard read later
qv http://www.tumblr.com/new/video?post[state]=2 Tumblr: Add new video to queue
sfpl http://sflib1.sfpl.org/search/X?SEARCH=%s&searchscope=1&p=&Da=&Db=&SORT=D Library Search Search the SF Public Library
text javascript:location.href='http://www.aaronsw.com/2002/html2text/?url='+document.location.href; Transform this page into Markdown
release http://release.local.twitter.com/ Releases
stageit http://release.local.twitter.com/StageIt/ StageIt
transtweet javascript:(function(){if(window.t2en){window.t2en.languageApiLoaded();}else{window.t2en={initialize:function(){this.loadGoogleApi();},loadScript:function(script_url){var%20s=document.createElement('script');s.src=script_url;s.type="text/javascript";document.getElementsByTagName('body')[0].appendChild(s);},loadGoogleApi:function(){this.loadScript('http://www.google.com/jsapi?callback=t2en.loadLanguageApi');},loadLanguageApi:function(){google.load("language","1",{language:'en',callback:'t2en.languageApiLoaded'});},languageApiLoaded:function(){$('.entry-content,%20.msgtxt').each(t2en.addTranslation);},addTranslation:function(evt){elem=$(this);if(!$.data(this,'active.tipsy')||$.data(this,'active.tipsy').html()==''){t2en.detectLanguage(elem,elem.html());}},detectLanguage:function(elem,txt){google.language.detect(txt,function(detect_response){t2en.translate(elem,txt,detect_response)});},translate:function(elem,txt,detect_response){if(!detect_response.error&&detect_response.language){if(detect_response.language!='en'){google.language.translate(txt,detect_response.language,'en',function(translation_response){t2en.setTipsy(elem,txt,translation_response);});}}else{elem.attr('title','Error%20encountered%20detecting%20language%20for%20text:'+detect_response.error);}},setTipsy:function(elem,txt,translation_response){var%20t='No%20translation%20found%20for%20text';if(translation_response.translation){t=translation_response.translation;}elem.tipsy({gravity:$.fn.tipsy.autoWE});elem.attr('title',t);}};t2en.initialize();}void(0);})(); Translate forgeign-language tweets into English
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment