Skip to content

Instantly share code, notes, and snippets.

View Antoine4011's full-sized avatar

Antoine Gamond Antoine4011

View GitHub Profile
Mac OS El Capitan 10.11.1
Server v5.0.15
Xcode 7.1
In your bot settings, go to the triggers tab and add a "Run script" After Integration:
"${XCS_SOURCE_DIR}/PROJECT_DIRECTORY_NAME/Crashlytics.framework/submit" API_KEY BUILD_SECRET
-ipaPath "${XCS_OUTPUT_DIR}/ExportedProduct/Apps/${XCS_BOT_NAME}.ipa"
-notesPath "${XCS_SOURCE_DIR}/PROJECT_DIRECTORY_NAME/PATH_RELEASE_NOTES.txt"
-groupAliases GROUP_1,GROUP_2
@Antoine4011
Antoine4011 / gist:7320396
Created November 5, 2013 15:06
Blur by Apple
- (UIImage *)applyBlurWithRadius:(CGFloat)blurRadius tintColor:(UIColor *)tintColor saturationDeltaFactor:(CGFloat)saturationDeltaFactor maskImage:(UIImage *)maskImage {
// Check pre-conditions.
if ((self.size.width < 1) || (self.size.height < 1)) {
NSLog(@"*** error: invalid size: (%.2f x %.2f). Both dimensions must be >= 1: %@", self.size.width, self.size.height, self);
return nil;
}
if (!self.CGImage) {
NSLog(@"*** error: image must be backed by a CGImage: %@", self);
--0xKhTmLbOuNdArY
Content-Disposition: form-data; name="ipad_date"
Mon, 22 Apr 2013 11:25:17 GMT+02:00
--0xKhTmLbOuNdArY