Skip to content

Instantly share code, notes, and snippets.

View gist:9072577
#!/usr/bin/env python
from mercurial import ui, hg, cmdutil, match
from collections import defaultdict
import json
import sys
if len (sys.argv) == 1:
print( "\nThis script determines contributor numbers between a certain range of commits." +
"\nOrder of arguments is important:" +
View gist:58512bc1c76e7c25478d
# This gist solves the problem of iTunes being activated whenever you turn off your
# bluetooth headset or speakers.
#
# You need to open a terminal app, either retype or paste in the following two lines:
# This will probably make your Apple Remote stop working, and definitely makes the media
# buttons on your keyboard stop working. Breaking one piece of OSX to make some other
# piece of OSX work right is apparently where we are now.
launchctl stop com.apple.rcd
launchctl unload /System/Library/LaunchAgents/com.apple.rcd.plist
You can’t perform that action at this time.