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
#!/usr/bin/env python | |
import mechanize | |
import datetime | |
import urllib | |
from bs4 import BeautifulSoup | |
############## | |
username = "fill me in" | |
password = "fill me in" |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'xmlsimple' | |
require 'fileutils' | |
info = XmlSimple.xml_in(`svn info --xml`, "ForceArray" => false) | |
root = info['entry']['url'] | |
revision = info["entry"]["commit"]["revision"].to_i | |
if ARGV.size > 0 |
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
require 'rubygems' | |
require 'net/https' | |
require 'json' | |
class PhoneFinder | |
attr_accessor :proxyhost, :proxyport | |
attr_accessor :username, :password | |
def initialize(u, p) | |
if ENV["http_proxy"] |
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 time | |
from google.appengine.ext import webapp | |
from google.appengine.api import datastore | |
import logging | |
ACCUMULATE = False | |
def monkey_patch(namespace, name, wrapper): | |
nname = '_orig_' + name | |
if not getattr(namespace, nname, None): |
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
Generating push certificates: | |
Go to iOS developer portal, go to "App IDs", open the production app ID and open | |
settings. Click "create certificate" and follow instructions to get | |
aps_production.cer and aps_development.cer. Make sure you use distinctive names | |
with date in the CSR so you can find the things later. | |
Import generated .cer files into keychain. | |
In keychain, select "my certificates" on the left, and expand the "apple |