Skip to content

Instantly share code, notes, and snippets.

View bendjones's full-sized avatar

Ben D. Jones bendjones

View GitHub Profile
@bendjones
bendjones / Xcode-betabuilder-slack-post-archive
Created January 9, 2015 18:25
Xcode Bot Server Post-Archive action script to generate builds using Beta Builder and notify Slack
# BEGIN EDITABLE AREA
# replace with slack hook URL for slack support
SLACK_HOOK_URL="https://hooks.slack.com/services/RELACE_WITH_FULL_HOOK_URL"
# check if we're running as the bot or as an archive step from xcode, change as needed
if [ "${INSTALL_OWNER}" = "_xcsbuildd" ]
then
BETA_OUTPUT_FOLDER="/usr/local/var/www/${PRODUCT_NAME}/${FULL_VERSION}"
BETA_LATEST_FOLDER="/usr/local/var/www/${PRODUCT_NAME}/latest"
@bendjones
bendjones / gist:650a6eb7a2dc73838c8c
Last active August 29, 2015 14:08 — forked from CristinaSolana/gist:1885435
Tracking changes from your fork

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
@bendjones
bendjones / APNSCertCreationFromP12.md
Last active August 29, 2015 14:07
APNS Cert Creation

###Creation of key and cert from exported p12 file

$ openssl pkcs12 -clcerts -nokeys -out apns-cert.pem -in cert.p12
$ openssl pkcs12 -nocerts -out apns-key.pem -in key.p12
$ openssl rsa -in apns-key.pem -out apns-key-noenc.pem

###Optional to create combined key

$ cat apns-cert.pem apns-key-noenc.pem > apns.pem
@bendjones
bendjones / Yosemite-XBox360-Kernel-Fix.md
Created September 28, 2014 05:10
Yosemite XBox360 Kernel Fix