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
void perform_block_after_delay(CGFloat seconds, dispatch_block_t block) { | |
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, seconds * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ | |
block(); | |
}); | |
} | |
void perform_block_on_main(dispatch_block_t block) { | |
dispatch_async(dispatch_get_main_queue(), ^{ | |
block(); | |
}); |
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
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
CLS_LOG(@"launchOptions: %@", launchOptions); | |
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: | |
@"kothredupios3903535ae2e402049", @"kochavaAppId", | |
// @"1", @"enableLogging", | |
@"1", @"retrieveAttribution", | |
nil]; | |
NSLog(@"*** Begin init ***"); |
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
let mapleader = " " | |
" rspec mappings | |
map <Leader>t :call RunCurrentSpecFile()<CR> | |
map <Leader>s :call RunNearestSpec()<CR> | |
map <Leader>l :call RunLastSpec()<CR> | |
function! RunCurrentSpecFile() | |
if InSpecFile() | |
let l:command = "zeus test " . @% |