Skip to content

Instantly share code, notes, and snippets.

Akihiro Noguchi aki-null

Block or report user

Report or block aki-null

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aki-null
aki-null / gist:2490310
Created Apr 25, 2012 — forked from hajipy/gist:2490294
[NSDictionary objectForKeyWithoutNull]
View gist:2490310
@implementation NSDictionary (objectForKeyWithoutNull)
- (id)objectForKeyWithoutNull:(id)aKey
{
id value = [self objectForKey:aKey];
if (value == [NSNull null]) {
return nil;
}
else {
return value;
}
@aki-null
aki-null / hack.sh
Last active Dec 27, 2017 — forked from erikh/hack.sh
OSX For Hackers
View hack.sh
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2261536/hack.sh | sh
#
You can’t perform that action at this time.