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
Show hidden characters
{ | |
"color_scheme": "Packages/Color Scheme - Default/Solarized (Light).tmTheme", | |
"font_size": 20.0, | |
"ignored_packages": [ | |
"Vintage" | |
], | |
"open_files_in_new_window": false, | |
"rulers": [ | |
100 | |
], |
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 . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" ")" -print| xargs wc -l |
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
UIPrintInteractionController *controller = | |
[UIPrintInteractionController sharedPrintController]; | |
UIPrintInfo *printInfo = [UIPrintInfo printInfo]; | |
printInfo.outputType = UIPrintInfoOutputGeneral; | |
controller.printInfo = printInfo; | |
controller.printFormatter = [_webView viewPrintFormatter]; | |
controller.showsPageRange = YES; |
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
- (NSString *) getIPAddress | |
{ | |
NSString *address = nil; | |
structifaddrs *interfaces = NULL; | |
structifaddrs *temp_addr = NULL; | |
int success = 0; | |
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
static const void *TTRetainNoOp(CFAllocatorRef allocator, | |
const void *value) {return value;} | |
static void TTReleaseNoOp(CFAllocatorRef allocator, | |
const void *value) {} | |
NSMutableArray *TTCreateNonRetainingArray() |
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
KEYWORDS="TODO:|FIXME:|\?\?\?:|\!\!\!:" | |
find "${SRCROOT}" \( -name "*.h" -or -name "*.m" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($KEYWORDS).*\$" | perl -p -e "s/($KEYWORDS)/ warning: \$1/" |