This file contains hidden or 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
| --- | |
| notifications: | |
| slack: | |
| defaultChannel: "bbgo-bollmaker" | |
| errorChannel: "bbgo-bollmaker" | |
| # routing rules | |
| routing: | |
| trade: "$silent" | |
| order: "$slient" |
This file contains hidden or 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
| cask_args appdir: '/Applications' | |
| tap 'caskroom/cask' | |
| tap "homebrew/cask-fonts" | |
| tap 'homebrew/cask-versions' | |
| tap "homebrew/bundle" | |
| tap "homebrew/core" | |
| tap "homebrew/services" | |
| tap "hsatac/toybox" | |
| brew "coreutils" | |
| brew "gnu-sed" |
This file contains hidden or 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
| xcrun simctl list > simulators.txt | |
| cat simulators.txt | cut -d "(" -f 2 | cut -d ")" -f 1 | while read sim; do xcrun simctl delete $sim; done |
This file contains hidden or 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 LCTableViewTests : XCTestCase | |
| @end | |
| @implementation LCTableViewTests | |
| //驗證 OCMock Stub method 本身 | |
| - (void)testOCMockStubMethod | |
| { | |
| //Arrange | |
| id protocolMock = OCMProtocolMock(@protocol(UITableViewDataSource)); |
This file contains hidden or 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 LCTableViewTests : XCTestCase | |
| @end | |
| @implementation LCTableViewTests | |
| //驗證互動 | |
| - (void)testTableViewDataSourceNumberOfRowsInSecitonWithDummyClass | |
| { | |
| //Arrange | |
| DummyUITableViewDataSource *dataSource = [[DummyUITableViewDataSource alloc] init]; |
This file contains hidden or 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 DummyUITableViewDataSource : NSObject <UITableViewDataSource> | |
| @end | |
| @implementation DummyUITableViewDataSource | |
| - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section | |
| { | |
| return 40; | |
| } |
This file contains hidden or 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
| enum LogTag: String { | |
| case APP = "[APP]" | |
| case DEBUG = "[DEBUG]" | |
| case ERROR = "[ERROR]" | |
| } | |
| fileprivate func debugLog( _ log: @autoclosure () -> Any, _ tags: [LogTag]) { | |
| #if DEBUG | |
| var tagStr = "" | |
| for tag in tags { |
This file contains hidden or 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
| xcrun simctl list | grep -oh '[A-Z0-9]\{8\}-[A-Z0-9]\{4\}-[A-Z0-9]\{4\}-[A-Z0-9]\{4\}-[A-Z0-9]\{12\}' | xargs -n1 xcrun simctl delete |
This file contains hidden or 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 LCTextView : UITextView | |
| @property (strong, nonatomic) NSString *placeholder; | |
| @property (strong, nonatomic) UIColor *placeholderColor; | |
| - (void)textChangeNotifiaciton:(NSNotification *)n; | |
| @end | |
This file contains hidden or 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 rm --cached mylogfile.log |
NewerOlder