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
# Call build-bump-tag.sh <PATH_TO_PLIST> | |
# Works for build numbers in major.minor.patch eg 0.0.1 versions | |
# Assumes at least one tag has already been added | |
# Get the variable values | |
lastTag=$(git describe --tags `git rev-list --tags --max-count=1`) | |
lastTagHash=$(git rev-parse --verify $lastTag^{commit}) | |
headHash=$(git rev-parse --verify HEAD^{commit}) | |
echo lastTag=$lastTag |
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
#!/usr/bin/python | |
import lldb | |
import commands | |
import optparse | |
import shlex | |
import string | |
def create_options_parser(): | |
usage = "usage: %prog [options]" |
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
command script import /usr/local/opt/chisel/libexec/fblldb.py | |
command alias es expr -l Swift -- | |
command unalias b | |
command alias b breakpoint |
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 UIKit | |
class MockURLProtocol: NSURLProtocol, NSURLConnectionDelegate { | |
// MARK:- Constants | |
static let harvestMode = false | |
static let mockMode = true | |
// MARK:- Properties | |
var currentRequest: NSURLRequest? |
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
- Xcode (Latest) | |
-- Alcatraz | |
-- VVDocumenter | |
-- Code snippets | |
- https://github.com/teambox/viper-module-generator | |
- P4Merge | |
- ?SourceTree | |
- iTerm 2 | |
- zsh | |
- fastlane |
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 "SCMockURLProtocol.h" | |
#define HARVEST_MODE NO | |
#define MOCK_MODE YES | |
@interface SCMockURLProtocol()<NSURLConnectionDelegate> | |
@property (nonatomic, strong) NSURLRequest *currentRequest; | |
@property (nonatomic, strong) NSURLSessionTask *currentTask; | |
@property (nonatomic, strong) NSURLConnection *connection; |
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
#!/usr/bin/env xcrun swift | |
import Foundation | |
// Constants | |
let HOCKEY_APP_TOKEN = "INSERT TOKEN HERE" | |
// Extensions | |
extension NSMutableData { | |