This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>NSAppTransportSecurity</key> | |
<dict> | |
<key>NSExceptionDomains</key> | |
<dict> | |
<key>localhost</key> | |
<dict> |
This file contains 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
@implementation NSURLRequest (printCurlRequest) | |
-(NSString *)curlRequest | |
{ | |
__block NSString *curlstr = [NSString stringWithFormat:@"curl -k -X %@ --dump-header -",self.HTTPMethod]; | |
[[self allHTTPHeaderFields] enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) { | |
curlstr = [curlstr stringByAppendingFormat:@" -H \"%@: %@\"",key, obj]; | |
}]; | |
This file contains 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
force ARC enable | |
#if !__has_feature(objc_arc) | |
#error THIS CODE MUST BE COMPILED WITH ARC ENABLED! | |
#endif |
This file contains 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
# /bin/bash | |
#Usage: $ ./cs_xproj_validate.sh path/to/xcode/project/file/theproject.xcodeproj | |
#More info: http://stackoverflow.com/q/13962341/89035 | |
PROJECT_FILE="$1/project.pbxproj" | |
PREVIOUS_LINE=-1 | |
for LINE in `cat "$PROJECT_FILE" | grep -n CODE_SIGN_IDENTITY | grep -o -E '^([0-9]*)'` |
This file contains 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
@interface LoginViewController : ParentViewController () | |
@end | |
// ... | |
@implementation | |
#pragma mark LoginServiceDelegate | |
-(void)loginDidFailWithError:(NSError *)loginError |
This file contains 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
Bonjour à tous, | |
Je me permets de vous contacter aujourd'hui pour vous parler d'un nouveau projet, dont j'ai parlé à certains d'entre vous et que je porte avec l'aide de quelques personnes: la création d'une ambassade Appsterdam à Paris ! | |
Qu'est-ce qu'Appsterdam : | |
Appsterdam est une communauté fondée en 2011 par Mike Lee (@bmf) afin de fédérer les créateurs d'applications, qu'ils soient développeurs, designer, marqueteux, entrepreneur, étudiants... toutes plateformes et langages confondus. | |
Établis initialement à Amsterdam, le projet commence à prendre forme aux 4 coins du monde sous la forme d'ambassade, portants les idées d'Appsterdam au sein de la culture locale. |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>items</key> | |
<array> | |
<dict> | |
<key>assets</key> | |
<array> | |
<dict> |
This file contains 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
- (IBAction) pressedPeelIt:(UIButton *)sender | |
{ | |
//Disable the button so they can't press it | |
self.peelIt.enabled = NO; | |
[self.textHere resignFirstResponder]; | |
//Create a new UIView and set the background color to be a UIColor with pattern image of a screen capture | |
UIView *imgView = [[UIView alloc] init]; | |
[self.view addSubview:imgView]; |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>UserName</key> | |
<string>jenkins</string> | |
<key>Label</key> | |
<string>org.jenkins-ci.jenkins</string> | |
<key>EnvironmentVariables</key> | |
<dict> |