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
- (void)setContentsWithFormat:(NSString *)formatString, ... | |
{ | |
[contents autorelease]; | |
va_list args; | |
va_start(args, formatString); | |
contents = [[NSString alloc] initWithFormat:formatString arguments:args]; | |
va_end(args); | |
} |
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
#!/user/bin/env python | |
import json | |
import sys | |
from types import * | |
def cpp_type(value): | |
if type(value) is IntType: | |
return 'int' | |
elif type(value) is FloatType: |
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
#!/usr/bin/env python | |
import urllib, urllib2 | |
import cookielib | |
import os | |
from contextlib import closing | |
import re | |
import getpass | |
import webbrowser | |
import sys |
NewerOlder