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 sys | |
import vcr | |
import json | |
import ruamel.yaml | |
for argi in range(1, len(sys.argv)): | |
fin = open(sys.argv[argi], 'r') | |
fon = open(sys.argv[argi]+'.updated', 'w') | |
doc, ind, bsi = ruamel.yaml.util.load_yaml_guess_indent(fin) |
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
set noautofocus | |
set numerichints | |
set typelinkhints | |
let scrollduration = 1 | |
let scrollstep = 50 | |
let defaultengine = "duckduckgo" | |
let barposition = "bottom" | |
command e tabnew |
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
@interface NavigationController : UINavigationController <UINavigationControllerDelegate> { | |
NSMutableArray *animatingControllers; | |
} | |
@end | |
@implementation NavigationController | |
- (id)init | |
{ | |
self = [super 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
/* | |
* 1) Download CocoaHTTPServer from Github: https://github.com/robbiehanson/CocoaHTTPServer | |
* 2) Include the downloaded source (except the samples) in your project | |
* 3) Define the SCREENCAST macro for the target/configuration you want to enable the screencast for (SCREENCAST=1) | |
* 4) Add the code below to your main.m file before the main() method | |
*/ | |
#if SCREENCAST | |
#import "HTTPServer.h" | |
#import "HTTPConnection.h" |