I hereby claim:
- I am subdigital on github.
- I am subdigital (https://keybase.io/subdigital) on keybase.
- I have a public key whose fingerprint is 21AB 9009 45D6 171D A19F 2B40 0654 48A1 4C7D AF2F
To claim this, I am signing this object:
| - (NSMutableURLRequest *)requestWithMethod:(NSString *)method | |
| path:(NSString *)path | |
| parameters:(NSDictionary *)parameters { | |
| NSString *token = [[PSCredentialRepository sharedRepository] authenticationToken]; | |
| if ([method isEqualToString:@"POST"] || [method isEqualToString:@"PUT"]) { | |
| if ([path rangeOfString:@"token="].location == NSNotFound) { | |
| NSString *separator = @"&"; | |
| if ([path rangeOfString:@"?"].location == NSNotFound) { | |
| separator = @"?"; | |
| } |
| Scott Burton Blows Goats. |
| # based on https://gist.github.com/3349345 | |
| # Thanks, @alloy! | |
| # | |
| # To get your project ready for this, you'll have to create a scheme for your unit test project, make sure run is checked in | |
| # the build step, and then delete the Test Host setting. | |
| # Also, make sure you have the colored and open4 gems installed. | |
| require 'rubygems' | |
| require 'colored' | |
| require 'pathname' |
| require 'rubygems' | |
| require 'plist' | |
| require 'securerandom' | |
| # Plist format: | |
| # <?xml version="1.0" encoding="UTF-8"?> | |
| # <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| # <plist version="1.0"> | |
| # <dict> | |
| # <key>IDECodeSnippetCompletionPrefix</key> |
| // Property Nonatomic Strong | |
| // Platform: All | |
| // Completion Scopes: ClassInterfaceMethods | |
| @property (nonatomic, strong) <# class_name #> *<# variable_name #>; |
| #! /bin/sh | |
| # Takes a provisioning profile and installs it into the system path. | |
| # This requires poking inside the provisioning profile and searching for the | |
| # UUID present at the end of the file. | |
| set -e | |
| if [[ -z "$1" ]] | |
| then |
| xcode_proj=`find . -name "*.xc*" -d 1 | sort -r | head -1` | |
| if [ `echo -n $xcode_proj | wc -m` == 0 ] | |
| then | |
| echo "No xcworkspace/xcodeproj file found in the current directory." | |
| exit 1 | |
| fi | |
| echo "Found $xcode_proj" | |
| open $xcode_proj |
| gcli status create DeliRadio deliradio-web $GIT_COMMIT \ | |
| --params=state:pending \ | |
| target_url:$BUILD_URL \ | |
| description:"Build #$BUILD_NUMBER is running" \ | |
| -f csv | |
| # Your build... | |
| gcli status create DeliRadio deliradio-web $GIT_COMMIT \ | |
| --params=state:success \ |
I hereby claim:
To claim this, I am signing this object:
| #! /bin/bash | |
| set -e | |
| if [[ -f ~/.vimrc ]] | |
| then | |
| echo "You already have a ~/.vimrc. Aborting to avoid losing data..." | |
| exit 1 | |
| fi |