View rm_conflicted.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
find . -type f -name "* conflicted *" -exec rm -f {} \; |
View remove_tag
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
git tag -d 12345 | |
git push origin :refs/tags/12345 |
View .gitconfig
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
[alias] | |
yesterday = log --graph --decorate --oneline --after='yesterday' --until='today midnight’ |
View ABVFormatter.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
#import <Foundation/Foundation.h> | |
@interface ABVFormatter : NSObject | |
- (NSString *)formattedABV:(NSNumber *)abv; | |
@end |
View Backgrounder.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
typedef void(^BackgroundCompletion)(); | |
@interface Backgrounder : NSObject | |
- (void)executeInBackground:(BackgroundCompletion)completion; | |
@end |
View WKUserContentController+Spec.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
#import <WebKit/WebKit.h> | |
@interface WKUserContentController (Spec) | |
- (NSDictionary *)userScriptHandlers; | |
@end |
View UITest.swift
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 XCTest | |
class UITests: XCTestCase { | |
let app = XCUIApplication() | |
override func setUp() { | |
super.setUp() | |
continueAfterFailure = false | |
app.launch() | |
} |
View GuardFormatting.swift
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
//: Playground - noun: a place where people can play | |
enum Error: ErrorType { | |
case ParsingError | |
} | |
struct Person { | |
let name: String | |
let age: Int |
View MyPlayground.swift
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
//: Playground - noun: a place where people can play | |
struct Option { | |
var id: UInt | |
var name: String | |
} | |
func combine(options: [Option]) -> [UInt: String] { | |
var combinedOptions = [UInt: String]() | |
for option in options { |
View UITests.swift
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 XCTest | |
class TestCase: XCTestCase { | |
let app = XCUIApplication() | |
override func setUp() { | |
super.setUp() | |
continueAfterFailure = false | |
app.launchArguments = ["UI-Testing"] |
OlderNewer