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
#!/bin/zsh | |
adb kill-server && adb start-server |
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
#!/bin/sh | |
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | |
cd $SCRIPT_DIR | |
# import common helper functions | |
. xcode_build_functions.sh | |
UUDebugLog "Building App Store IPA" | |
./build_appstore_ipa.sh |
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
#!/bin/zsh | |
keytool -genkey -v -keystore release.keystore -alias upload_signing -storetype PKCS12 -keyalg RSA -keysize 2048 -validity 365000 |
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
def getVersionName = { -> | |
def name = project.hasProperty('versionName') ? versionName : "1.0" | |
println "VersionName is set to $name" | |
return "\"" + name.trim() + "\"" | |
} | |
def getBuildBranch = { -> | |
def val = null |
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
#!/bin/sh | |
# import common helper functions | |
. common_build_functions.sh | |
function UUClearCrashlyticsKeyAndSecret | |
{ | |
if [ $# != 1 ] | |
then | |
echo "Usage: UUClearCrashlyticsKeyAndSecret [Android manifest path]" |
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
// | |
// UILabel+UUResizing.h | |
// Useful Utilities - UILabel resizing extensions | |
// | |
// License: | |
// You are free to use this code for whatever purposes you desire. The only requirement is that you smile everytime you use it. | |
// | |
// Contact: ryan@threejacks.com | |
// | |
// These methods are handy when dynamically resizing and positions labels 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
#import <Foundation/Foundation.h> | |
@interface NSFileManager (UUFileSizeCalculations) | |
- (unsigned long long) uuFileSizeAtPath:(NSString*)path; | |
@end |
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 <Foundation/Foundation.h> | |
extern NSString * const kUURFC3339DateFormatter; | |
@interface UUDateFormatter : NSObject | |
+ (NSDate*) dateFromRfc3339String:(NSString*)string; | |
+ (NSDate*) dateFromString:(NSString*)string withFormat:(NSString*)format; | |
+ (NSString*) dateToRfc3339String:(NSDate*)date; |
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
@interface UIColor (UUColorCreation) | |
+ (UIColor*) uuColorFromHex:(NSString*)color; | |
@end |