Skip to content

Instantly share code, notes, and snippets.

View florianbachmann's full-sized avatar
💭
rock n roll

Flori florianbachmann

💭
rock n roll
View GitHub Profile
@coderbyheart
coderbyheart / startupweeken-rheinmain-2012.md
Last active August 29, 2015 14:07
Startup Weekend RheinMain 2012

Img

Am Wochenende rund um den 1. Juni 2012 fand im FIZ in Frankfurt das erste Startup Weekend hier im RheinMain-Gebiet statt. Ich hatte mich schon frühzeitig angemeldet um mit meinem Projekt re:text dort teil zu nehmen. Ziel eines Startup Weekends ist es, für neue Ideen Mitstreiter zu finden und bereits am Wochenende diese Idee zu einem tragfähigen Konzept auszubauen. Hierzu stellt man in einem 60-Sekunden-Pitch die Idee vor allen Teilnehmern vor, in der anschließenden Abstimmungsphase werden von jedem Teilnehmer drei Punkte an seine Lieblingsidee vergeben. Die Ideen mit den meisten Punkten dürfen dann am Wochenende bearbeitet werden. An dieser Veranstaltung waren etwa 120 Teilnehmer anwesend, die sich zu 15 Teams zusammenfinden sollten – am Sonntag sind davon zehn Teams übrig geblieben. Über das Wochenende stehen den Teams erfahren Mentoren zur Seite, die diese bei

#import <Foundation/Foundation.h>
@class CKRecordID;
@interface CKCPartialErrorItem : NSObject
@property (strong) NSError *error;
@property (strong) CKRecordID *recordID;
@end
@class CKRecord;
@florianbachmann
florianbachmann / gist:1798394
Created February 11, 2012 10:06 — forked from odrobnik/gist:1789418
Asynchronous Deletion
//
// DTAsyncFileDeleter.m
// DTFoundation
//
// Created by Oliver Drobnik on 2/10/12.
// Copyright (c) 2012 Cocoanetics. All rights reserved.
//
#import "DTAsyncFileDeleter.h"
@bkoell
bkoell / gist:2220183
Created March 27, 2012 20:59
MKMapView: relocating Google-Image and Copyright-Label
//example relocation implementation
- (void) relocate:(MKMapView*)map {
UIImageView *google = [self googleImageForMapView:map];
CGRect googleFrame = CGRectMake(google.frame.origin.x, 10.0, google.frame.size.width, google.frame.size.height);
[google setFrame:googleFrame];
UILabel *copyright = [self copyrightLabelForMapView:map];
CGRect copyrightFrame = CGRectMake(copyright.frame.origin.x, 10.0, copyright.frame.size.width, copyright.frame.size.height);
[copyright setFrame:copyrightFrame];
}
# Uncrustify 0.59
#
# General options
#
# The type of line endings
newlines = auto # auto/lf/crlf/cr
# The original size of tabs in the input
//
// NSString+Cheddar.m
// Cheddar
//
// Created by Sam Soffes on 6/10/12.
// Copyright (c) 2012 Nothing Magical. All rights reserved.
//
#import "NSString+Cheddar.h"
@AlanQuatermain
AlanQuatermain / gist:2912081
Created June 11, 2012 19:15
Check whether the iOS Dev Centre is available yet, for 30 minutes
-- Thirty minute timeout
with timeout of 108000 seconds
repeat while true
delay 5
set baseurl to "https://developer.apple.com/devcenter/ios/index.action"
set curlshellcode to "curl " & baseurl
set theshellresult to do shell script curlshellcode
if theshellresult does not contain "maintenance" then
#ifdef DEBUG
void pspdf_swizzle(Class c, SEL orig, SEL new) {
Method origMethod = class_getInstanceMethod(c, orig);
Method newMethod = class_getInstanceMethod(c, new);
if(class_addMethod(c, orig, method_getImplementation(newMethod), method_getTypeEncoding(newMethod))) {
class_replaceMethod(c, new, method_getImplementation(origMethod), method_getTypeEncoding(origMethod));
}else {
method_exchangeImplementations(origMethod, newMethod);
}
@indragiek
indragiek / SNRRestorationManager.h
Created August 19, 2012 20:16
Simple Cocoa state restoration
//
// SNRRestorationManager.h
// Sonora
//
// Created by Indragie Karunaratne on 2012-08-19.
//
#import <Foundation/Foundation.h>
@protocol SNRRestorableState <NSObject>
@florianbachmann
florianbachmann / SNRDiscogsEngine.h
Created August 20, 2012 06:36 — forked from indragiek/SNRDiscogsEngine.h
API wrapper for the Discogs API built on AFNetworking
//
// SNRDiscogsEngine.h
// Sonora
//
// Created by Indragie Karunaratne on 11-11-18.
//
#import <Foundation/Foundation.h>
@interface SNRDiscogsEngine : NSObject