Skip to content

Instantly share code, notes, and snippets.

View dlinsin's full-sized avatar

David Linsin dlinsin

View GitHub Profile
@dlinsin
dlinsin / The blog is dead long live the blog.md
Created December 24, 2012 14:28
The blog is dead long live the blog

The blog is dead

I had a blog since November 2004 and I have been writing on and off ever since. I think writing blog posts was probably the longest consistent thing I've ever done in my life, besides being with my wife. Everything comes to an end and so does my blog.

Long live the blog

I won't fully retire from writing. Although, I don't enjoy it as much as I used to, sometimes a blog says more than a thousand tweets. I won't maintain a full blog like I used to on the web. I'll probably publish my ramblings using Gists on GitHub or Pro Tips on coderwall.

@dlinsin
dlinsin / Untitled.txt
Created December 17, 2012 15:37
No description
spring_ = [[Spring alloc] initWithSiteAndApplication:@"app" application:@"wetter-com"];
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
[self.spring commit:dict];
@dlinsin
dlinsin / gist:2666823
Created May 12, 2012 14:31
Alfred Apple Script Extension to create iCal Reminder
-- extended from http://www.dirtdon.com/?p=1261
on alfred_script(q)
tell application "iCal"
activate
set theDueDate to (current date) + 1 * days
set time of theDueDate to 0
set hours of theDueDate to 8
set newtodo to (make new todo at end of todos in calendar "Private" with properties {summary:q, due date:theDueDate})
tell calendar "Private"
@dlinsin
dlinsin / gist:2651799
Created May 10, 2012 08:00
Unity3D Entwickler für Spiele-Projekt gesucht!
Zur kurzfristigen Verstärkung eines unserer Projekt-Teams in Köln suchen wir einen Unity3D Freelancer,
der uns bei der Umsetzung eines Spiele-Projekts unterstützt.
Köln ist kein Muss - remote wäre auch okay. Bei Interesse einfach E-Mail an david.linsin@grandcentrix.net.
@dlinsin
dlinsin / gist:2651183
Created May 10, 2012 05:18
JavaScript-begeisterter Freelancer für mobile Projekt in Köln gesucht
Du liebst das Mobile Web 2.0? Dann suchen wir dich!
Zur kurzfristigen Verstärkung eines unserer Projekt-Teams in Köln suchen wir Dich, wenn Du ein
JavaScript-begeisterter Freelancer bist, der mit Pixelpräzision mobile Frontends bauen kann.
Du hast bereits langjährige Berufserfahrung im Bereich Webseitenentwicklung gesammelt und hohe
Affinität zum Web 2.0? Du kannst Kenntnisse im Umgang mit AJAX und jQuery Entwicklung nachweisen?
Vielleicht gehört auch Ext JS zu Deinem täglichen Brot? Kreativität, ein Faible für Gestaltung und
Gespür für Nutzer-Interaktion zeichnen Dich aus? Hohe Sensibilität für Usability und Accessibility
sind für Dich selbstverständlich? Dann freuen wir uns auf Dich!
@dlinsin
dlinsin / gist:1539886
Created December 30, 2011 13:35
iChat Growl AppleScript
tell application "Growl"
set the allNotificationsList to ¬
{"iChat Message Notification"}
set the enabledNotificationsList to ¬
{"iChat Message Notification"}
register as application ¬
"iChat Message Notification AppleScript" all notifications allNotificationsList ¬
default notifications enabledNotificationsList ¬
@dlinsin
dlinsin / NSArray+Plist.m
Created September 10, 2011 14:39
Simple category to read plist as array
#import "NSArray+Plist.h"
@implementation NSArray (Plist)
+ (id)arrayFromPlist:(NSString *)filename {
NSData *plistData;
NSString *error;
NSPropertyListFormat format;
id plist;
@dlinsin
dlinsin / constitution
Created August 25, 2011 15:36
AppDev Meet
AppDev Meet version 1.0 in Cologne, Germany.
> What? "AppDev Meet"? Shouldn't it be called "NSCoderNight" or something?
Yes and no! We wanted to start something fresh and new, so we decided to update the name.
> Okay!?! So is it still about code and stuff?
Sure! AppDev Meet is about iOS and Mac development as well as UI/UX-Design. We want to
hang out, code and meet fellow developers and designers from the Cologne area.
@dlinsin
dlinsin / gist:1008470
Created June 4, 2011 23:07
FindAndResignFirstResponder Category
@implementation UIView (FindAndResignFirstResponder)
- (BOOL)findAndResignFirstResponder
{
if (self.isFirstResponder) {
[self resignFirstResponder];
return YES;
}
for (UIView *subView in self.subviews) {
if ([subView findAndResignFirstResponder])
return YES;
- (void)application:(UIApplication *)application
didReceiveRemoteNotification:(NSDictionary *)userInfo {
if(application.applicationState == UIApplicationStateActive ) {
DBLog(@"Received: %@", notification.alertBody);
// alert, because app is running in foreground
}
}