Skip to content

Instantly share code, notes, and snippets.

View cqr's full-sized avatar

Chris Quamme Rhoden cqr

View GitHub Profile
@cqr
cqr / build_settings.yml
Created September 28, 2011 16:25 — forked from qwzybug/build_settings.yml
Ruby script to build, tag, archive, and distribute an app and its dSYM file, in one fell swoop.
TF_API_TOKEN: <your TestFlight API token>
TF_TEAM_TOKEN: <your TestFlight team token>
TF_DISTRIBUTION: <name of distribution list to notify>
DEVELOPER_PREFIX: <path to your developer directory, e.g., /Developer-4.2>
ARCHIVE_DIRECTORY: <path for saving archived builds>
DEVELOPER_NAME: <keychain name of developer certificate>
PROVISONING_PROFILE: <full path to distribution provisioning profile>
def each(&block)
master.each(&block)
end
def each(&block)
master.each(&block)
end
@cqr
cqr / node.js
Created October 12, 2010 14:55 — forked from joerussbowman/node.js header as array hack
arrayhack.js
/*
* BEGIN Custom patches
*/
// This is the content type I will return on most of my requests,
// so I'm adding it as the default. I can overwrite the headers
// to change it if necessary on the individual handlers.
http.ServerResponse.prototype.headers = ["Content-Type: text/html"];
http.ServerResponse.prototype.writeHeadArray = function(statusCode){