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
# Change bluetooth audio parameters on OSX to solve dropping/choppy audio problems on Yosemite | |
# (and earlier, reportedly) w/ BT headphones. This is not a perfect solution, but reduces | |
# the number of interruptions dramatically. It has been tested on exactly one machine with | |
# iTunes local audio only; please leave a comment if you discover it causes any problems with AirPlay | |
# or other software. | |
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 48 | |
defaults write com.apple.BluetoothAudioAgent "Stream - Max Outstanding Packets (editable)" 10 | |
defaults write com.apple.BluetoothAudioAgent "Stream Resume Delay" 0 |
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 will give all the ICSE2015/2016 papers filenames extracted from the titles of the PDF metadata, | |
# and put them in a folder on your desktop. It's been tested on OSX and depends on wget and pdfinfo, | |
# available via the macports xpdf package on pre-Yosemite OSX, and here for Yosemite users: | |
# | |
# ftp://ftp.foolabs.com/pub/xpdf/xpdfbin-mac-3.04.tar.gz | |
# | |
# It's a manual install, unfortunately, but I trust you're geared up for that. | |
# | |
# The username and password are available from these public-facing pdfs: | |
# http://atlantis.isti.cnr.it/ICSE2015ProgramBrochureOnLineVersion.pdf (2015 - icse15/conf15) |
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 | |
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:" + |
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
from mercurial import ui, hg, cmdutil, match | |
from collections import defaultdict | |
import json | |
import sys | |
repo = hg.repository(ui.ui(), sys.argv[1]) | |
from_rev = sys.argv[2] | |
to_rev = sys.argv[3] | |
employees = {} |
NewerOlder