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
| for((j=0;j<120;j++));do mkdir $j;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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
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
| #define NavigationBar_HEIGHT 44 | |
| #define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width) | |
| #define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height) | |
| #define SAFE_RELEASE(x) [x release];x=nil | |
| #define IOS_VERSION [[[UIDevice currentDevice] systemVersion] floatValue] | |
| #define CurrentSystemVersion ([[UIDevice currentDevice] systemVersion]) | |
| #define CurrentLanguage ([[NSLocale preferredLanguages] objectAtIndex:0]) | |
| #define BACKGROUND_COLOR [UIColor colorWithRed:242.0/255.0 green:236.0/255.0 blue:231.0/255.0 alpha:1.0] |
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
| import sublime, sublime_plugin | |
| import markdown2 | |
| import re | |
| def lutaf_fix(content): | |
| """ | |
| for lutaf.com | |
| """ |