Skip to content

Instantly share code, notes, and snippets.

View Raztor0's full-sized avatar

Razvan Bangu Raztor0

View GitHub Profile
grep -r -v '<\?php' . | grep -r -l --include \*.php -E '<\?' . | xargs -i@ sed -i 's/<?/<?php/g' @
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(ubiquitousKeyValueStoreDidChange:) name:NSUbiquitousKeyValueStoreDidChangeExternallyNotification object:[NSUbiquitousKeyValueStore defaultStore]];
[[NSUbiquitousKeyValueStore defaultStore] synchronize];
return YES;
}
#pragma mark - NSNotifications
import xml.etree.ElementTree as ET
import xml.dom.minidom as minidom
import sys
import uuid
def main(argv):
xibPath = ''
tree = ''
attemptFixup = False
try:
[{
"domainCode" : "vn",
"domainUrl" : "http://vietnamese.center"
},
{
"domainCode" : "gr",
"domainUrl" : "http://greek.center"
}]