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
rm -rf "${HOME}/Library/Caches/CocoaPods" | |
rm -rf "`pwd`/Pods/" | |
pod update |
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
// | |
// CircularPointArray.h | |
// | |
// Created by @richy486 on 8/04/2015. | |
// Copyright (c) 2015 @richy486. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
@interface CircularPointArray : NSObject |
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
// | |
// UIDeviceHardware.h | |
// | |
// Used to determine EXACT version of device software is running on. | |
#import <Foundation/Foundation.h> | |
@interface UIDeviceHardware : NSObject | |
+ (NSString *) platform; |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<style> | |
body { | |
margin: 0px; | |
padding: 0px; | |
} | |
</style> | |
</head> |
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
// | |
// UIImage+AverageColor.h | |
// | |
// | |
// Created by Richard Adem on 3/07/2015. | |
// Copyright (c) 2015 Richard Adem. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
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
# logcat in terminal | |
adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG | |
# log to file | |
adb shell logcat > log.txt | |
# list packages | |
adb shell pm list packages | |
# full path to package |
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
# updates your info.plist with the current git tag as version and commit number | |
# in that tag as build numer, then ammends the changed file to git | |
# run this after your normal commit but before you push | |
# | |
# this to be placed in the same directory as the xcode project file | |
# info.plist to be in the path [folder with projectfile]/[project name]/[project name]-Info.plist | |
# git tags to be in the form of v[number] | |
# | |
# Don't forget to do chmod +x ~/whatever/vTag.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
// | |
// RectHelper.h | |
// | |
// Created by Richard Adem on 24/11/11. | |
// Copyright (c) 2011 Richard Adem. All rights reserved. | |
// | |
// richy486@gmail.com | |
// twitter.com/richy486 | |
// |
OlderNewer