Skip to content

Instantly share code, notes, and snippets.

Michael Lynn pudquick

Block or report user

Report or block pudquick

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gurl.py
# http://httpstat.us - for test error codes
# http://uri-labs.com/macosx_headers/NSURLConnection_h/Protocols/NSURLConnectionDelegate/index.html
# Notes:
# - Errors are only thrown when the connection:
# - Is interrupted before the headers can complete
# - SSL couldn't happen correctly
# - The connection never happens
# - A delegate.response always has a NSHTTPURLResponse key for HTTP/HTTPS
# For a file:// transfer, it's NSURLResponse
View xcode5_postinstall.sh
#!/bin/sh
/usr/sbin/DevToolsSecurity -enable
/usr/sbin/dseditgroup -o edit -t group -a everyone _developer
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -license accept
# Install the included support stuff
/usr/sbin/installer -dumplog -verbose -pkg /Applications/Xcode.app/Contents/Resources/Packages/MobileDeviceDevelopment.pkg -tgt /
You can’t perform that action at this time.