Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
// | |
// HelloWorldLayer.m | |
// CCSendMessageTest | |
// | |
// Created by Keisuke Hata on 11/06/04. | |
// | |
// Import the interfaces | |
#import "HelloWorldLayer.h" |
static inline NSString *convertSelName(const char *hax3d) { | |
int length = strlen(hax3d); | |
char name[length + 1]; | |
for (int i = 0; i < length; ++i) { | |
char c = hax3d[i]; | |
if (c == ':' || c == '_') { | |
name[i] = c; | |
} else if (c >= 'a' && c <= 'z') { | |
name[i] = ((c - 'a' + 13) % 26) + 'a'; |
import urllib | |
import webbrowser | |
CALLBACK_URL_BASE = 'pythonista://' | |
url = "tweetbot://x-callback-url/post?" | |
def tweet(txt,cb=CALLBACK_URL_BASE): | |
data = { | |
'text': txt, | |
'callback_url': cb | |
} |