This file contains hidden or 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
| #!/usr/local/bin/python | |
| import requests | |
| import re | |
| import keychain | |
| ######## | |
| # Configure these settings | |
| username = '[email protected]' | |
| mypass = keychain.get_password('instapaper', username) |
This file contains hidden or 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
| # To call script from Drafts, use the follwing URL as URL Action: | |
| # <pythonista://sort?action=run&argv=[[draft]]> | |
| import sys | |
| import urllib | |
| import webbrowser | |
| a = sys.argv[1].split("\n") | |
| a.sort(key=str.lower) | |
| a = "\n".join(a) |
This file contains hidden or 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
| #!/bin/bash | |
| curl -O http://cloud.github.com/downloads/whomwah/qlstephen/QLStephen.qlgenerator.zip | |
| unzip QLStephen.qlgenerator.zip | |
| echo "Please enter your password when asked (the one sudo asks you for usuqlly). It's needed to copy some files to /Library/QuickLook" | |
| sudo mv -f QLStephen.qlgenerator /Library/QuickLook | |
| rm QLStephen.qlgenerator.zip | |
| qlmanage -r | |
| echo "We're done. Have fun and do not forget to give a credit to QLStephen's author Duncan@https://github.com/whomwah" |
This file contains hidden or 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
| (* INSERT MARKDOWN LINKS OF CURRENT PAGE OF SKIM PDF INTO TEXTMATE | |
| -- created by Stephen Margheim | |
| -- 06 July 2013 | |
| -- open source | |
| *) | |
| tell application "Skim" |
This file contains hidden or 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
| # list all local cask files and find the 'appcast' stanza | |
| # - assumes you have brew cask installed: | |
| # brew install caskroom/cask/brew-cask | |
| for cask in `ls /usr/local/Library/Taps/caskroom/homebrew-cask/Casks | awk -F"." '{print $1}'`; do | |
| cast=$(brew cask cat ${cask} | grep appcast | awk '{print $2}') | |
| [ -n "${cast}" ] && echo "${cask}: ${cast}" | grep http | |
| done | |
| a-better-finder-attributes: 'http://www.publicspace.net/app/signed_abfa5.xml' | |
| a-better-finder-rename: 'http://www.publicspace.net/app/signed_abfr9.xml' |
OlderNewer