Launch the instance and connect with ssh.
##Update the server
sudo yum update
##Install php and MySQL packages
#import <Foundation/Foundation.h> | |
#import <objc/runtime.h> | |
@interface NSNotificationCenter (AllObservers) | |
- (NSSet *) my_observersForNotificationName:(NSString *)notificationName; | |
@end |
#import <UIKit/UIKit.h> | |
@interface UIDevice (HostUUID) | |
- (NSString *) xcd_uniqueIdentifier; | |
@end |
# To check if this is up-to-date with the tax rates go to | |
# http://www.expatax.nl/tax-rates-2016.php and see if there's anything | |
# newer there. | |
# | |
# I make no guarantees that any of this is correct. I calculated this | |
# at the time and have been updating it when new tax rates come along | |
# because people keep finding this useful. | |
# | |
# There's also an interactive JS version of this created by | |
# @stevermeister at |
Launch the instance and connect with ssh.
##Update the server
sudo yum update
##Install php and MySQL packages
#!/bin/sh | |
# Script to be used within xcode to generate documentation through appledoc | |
# Prior to the execution of this script the appledoc executable and templates should have been copied | |
# to the appledoc folder in the project root directory | |
# | |
# Created by Sumeru Chatterjee when he was awake till 7 AM on July 12 2011 | |
# https://gist.github.com/1077672 | |
#Company Name the only variable that I cant seem to grab from the environment_variables | |
COMPANY=My_Company_Name |
#!/usr/bin/env python | |
# Nicolas Seriot | |
# 2011-01-06 | |
# https://gist.github.com/768457 | |
""" | |
Input: path of an Objective-C project | |
Output: import dependancies Graphviz format |
#!/bin/bash | |
cd ~/Library/Application\ Support/MobileSync/Backup | |
backup=`ls -t1 | sed -n '1p'` # most recent backup | |
for f in "$backup"/*.mdinfo; do | |
grep -q "Library/AddressBook/AddressBook.sqlitedb" $f | |
if [ $? -eq 0 ]; then | |
addressbook=`basename $f .mdinfo` | |
cp -v "`pwd`/$backup/$addressbook.mddata" ~/Library/Application\ Support/iPhone\ Simulator/User/Library/AddressBook/AddressBook.sqlitedb | |
exit $? |