This file contains 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
# Homebrew Formula for PHP 5.2.14 as php-cgi (for nginx, etc.) | |
require 'formula' | |
class PhpCgi <Formula | |
@url='http://www.php.net/get/php-5.2.14.tar.bz2/from/www.php.net/mirror' | |
@version='5.2.14' | |
@homepage='http://php.net/' | |
@md5='bfdfc0e62fe437020cc04078269d1414' |
This file contains 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 urllib | |
import simplejson | |
def getBitlyURL(login, api_key, url): | |
params = urllib.urlencode({'login': login, \ | |
'apiKey': api_key, \ | |
'version': '2.0.1', \ | |
'format': 'json', | |
'longUrl': url}) | |
uri = urllib.urlopen('http://api.bit.ly/shorten?%s' % params) |
This file contains 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
""" | |
Get Lighthouse tickets I am responsible for in the next milestone | |
Eston Bond ([email protected]) | |
""" | |
import urllib2 | |
from xml.dom import minidom | |
lighthouse_token = '' # your token. can be read-only | |
project_root_url = '' # e.g. project.lighthouseapp.com |