I hereby claim:
- I am mottram on github.
- I am jackmottram (https://keybase.io/jackmottram) on keybase.
- I have a public key whose fingerprint is DCFE 1768 B67C 0BC5 6ACA F9B1 2AF8 7B3D 3183 37D3
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| on runme(message) | |
| tell application "System Events" to set FrontAppName to name of first process where frontmost is true | |
| if FrontAppName is "Google Chrome Canary" then | |
| if (item 1 of message = 144) and (item 2 of message = 40) and (item 3 of message > 0) then | |
| tell application "System Events" | |
| tell process "Google Chrome Canary" | |
| click menu item "Instapaper" of menu "Bookmarks" of menu bar 1 | |
| end tell | |
| end tell | |
| end if |
| <!DOCTYPE html> | |
| <html dir="ltr" lang="en-GB" xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>Voracious</title> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <meta name="viewport" content="width=device-width"/> | |
| <style> | |
| /* Reset */ | |
| html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video{border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}body{line-height:1;}article,aside,dialog,figure,footer,header,hgroup,nav,section{display:block;}nav ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:none;}a{border:0;font-size:100%;vertical-align:baseline;background:transparent;margin:0;padding:0;}ins{background-color:#ffe;color:#000;text-decor |
| # A basic .muttrc for Google Mail users in the UK | |
| # If you're outside the UK, try this file instead: | |
| # http://gist.github.com/387292 | |
| # Change the following six lines to your Gmail account details | |
| set imap_user = "[email protected]" | |
| set imap_pass = "PASSWORD" | |
| set smtp_url = "smtp://[email protected]:587/" | |
| set smtp_pass = "PASSWORD" | |
| set from = "[email protected]" |
| # A basic .muttrc for use with GMail | |
| # NB: if you're in the UK, use this file instead: | |
| # http://gist.github.com/387298 | |
| # Change the following six lines to match your Gmail account details | |
| set imap_user = "[email protected]" | |
| set imap_pass = "PASSWORD" | |
| set smtp_url = "smtp://[email protected]:587/" | |
| set smtp_pass = "PASSWORD" | |
| set from = "[email protected]" |
| # OfflineIMAP config for GMail backup (only tested on OS X) | |
| # Save it as ~/.offlineimaprc | |
| # NB: this will sync *everything*, including All Mail, Spam, Bin, etc. | |
| [general] | |
| metadata = ~/.offlineimap | |
| accounts = GMail | |
| maxsyncaccounts = 1 | |
| # You might want to change the below to ui = TTY.TTYUI the first time you run offlineimap | |
| # It can choke on large attachments and GMail might reset the connection if you download too much |
| > Jack Mottram's Custom Quix Commands (Forked from Merlin Mann's - http://gist.github.com/290059) | |
| > TITLE: mot-quix.txt | |
| > GITHUB: http://gist.github.com/379326 | |
| > MORE: http://quixapp.com | |
| @Jack Mottram's Custom Quix Commands | |
| ml javascript:(function(s){try{s=document.selection.createRange().text}catch(_){s=document.getSelection()}prompt('Markdown%20Link','['+s+']('+location+')')})();void(0) Copy selected text as Markdown link | |
| mt javascript:(function(s){try{s=document.selection.createRange().text}catch(_){s=document.getSelection()}prompt('Markdown%20Title','['+document.title+']('+location+')')})();void(0) Copy title as Markdown link | |
| mu javascript:(function(s){try{s=document.selection.createRange().text}catch(_){s=document.getSelection()}prompt('Markdown%20URL','('+location+')')})();void(0) URL as markdown link | |
| mc javascript:(function(s){try{s=document.selection.createRange().text}catch(_){s=document.getSelection()}prompt('Markdow |
| #!/bin/sh | |
| tmux new-session -d -s main | |
| tmux new-window -t main:1 alpine | |
| tmux rename-window -t main:1 mail | |
| tmux new-window -t main:2 'newsbeuter -r' | |
| tmux rename-window -t main:2 news | |
| tmux select-window -t main:0 | |
| tmux attach -t main |