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
| $ 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
| 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
| (* 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
| #!/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
| 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
| # 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
| #!/usr/bin/python | |
| import sys | |
| import os, shutil | |
| import subprocess | |
| import os.path | |
| from datetime import datetime | |
| ######################## Functions ######################### |
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
| // Arial double | |
| // (Based on Novel Cochin) | |
| // | |
| // By Max Masnick (http://masnick.org) | |
| // | |
| // Visit http://www.ulyssesapp.com/styles | |
| // for full reference | |
| // | |
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
| """ | |
| This file contains code that, when run on Python 2.7.5 or earlier, creates | |
| a string that should not exist: u'\Udeadbeef'. That's a single "character" | |
| that's illegal in Python because it's outside the valid Unicode range. | |
| It then uses it to crash various things in the Python standard library and | |
| corrupt a database. | |
| On Python 3... well, this file is full of syntax errors on Python 3. But | |
| if you were to change the print statements and byte literals and stuff: |