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
| # Current version at https://gist.github.com/cclauss/6656495 | |
| import console | |
| addPrompt = """Item to be added to the list? | |
| or [M] to return to the main menu:""" | |
| removePrompt = """Item to be removed from the list? | |
| or [M] to return to the main menu:""" | |
| def writeListToFile(inFileName, inList): |
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
| import socket | |
| import webbrowser | |
| import re | |
| html = """ | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script> | |
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/bin/env python | |
| # | |
| # Run this in the background. Poll using netcat: | |
| # | |
| # $ nc localhost 5005 | |
| # | |
| # Made for use with GeekTool. http://projects.tynsoe.org/en/geektool/ | |
| # |
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
| (* EXPORT ALL SKIM NOTES TO EVERNOTE WITH HYPERLINKS | |
| -- Stephen Margheim | |
| -- 9/7/13 | |
| -- open source | |
| REQUIRED PROGRAMS: | |
| - Skim (pdf viewer and annotator) | |
| - Evernote (cloud based note app) |
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
| Tweetbot for Mac Super Secret Settings | |
| You will need to use the Terminal app to change these settings: | |
| # these all affect the text in a DM or new tweet - the default is yes for all of them | |
| defaults write com.tapbots.TweetbotMac TextAutomaticQuoteSubstitution -bool NO | |
| defaults write com.tapbots.TweetbotMac TextAutoCorrect -bool NO | |
| defaults write com.tapbots.TweetbotMac TextContinuousSpellChecking -bool NO | |
| defaults write com.tapbots.TweetbotMac TextAutomaticTextReplacement -bool NO |
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
| $ defaults write com.pilotmoon.popclip UseShortTitles -bool YES | |
| $ killall PopClip && open -a PopClip |
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 | |
| # Open current directory in forklift | |
| echo -n $PWD | pbcopy | |
| (cat<<EOF | |
| tell application "Forklift" | |
| activate | |
| tell application "System Events" |
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
| # Launcher | |
| # | |
| # A Simple Launcher in Notification Center | |
| from scene import * | |
| import webbrowser | |
| import notification | |
| class Key (object): | |
| def __init__(self, frame): |
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
| # | |
| # Hydrogen is a lightweight GUI framework for Pythonista | |
| # | |
| # Hydrogen - https://gist.github.com/BashedCrab/5924965 | |
| # | |
| # HydrogenLayouts - https://gist.github.com/BashedCrab/6103019 | |
| # | |
| # HydrogenDemo - https://gist.github.com/BashedCrab/5953776 | |
| # |
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
| import sys | |
| import console | |
| import requests | |
| from bs4 import BeautifulSoup | |
| from datetime import datetime | |
| # | |
| # Check the status of the Apple Dev Center systems. | |
| # Offline systems appear in orange | |
| # Online systems appear in black | |
| # |