I hereby claim:
- I am bobmoff on github.
- I am bobmoff (https://keybase.io/bobmoff) on keybase.
- I have a public key whose fingerprint is 7B1A 17FD 3E98 B2EF 0B65 4355 F53F FB62 8E92 C33C
To claim this, I am signing this object:
NSDictionary *addressDict = @{(NSString *)kABPersonAddressStreetKey : @"THIS IS THE NAME OF THE STREET YOU WOULD LIKE TO SHOW"}; | |
MKPlacemark *mapPlaceMark = [[MKPlacemark alloc] initWithCoordinate:placeMarkCoordinate addressDictionary:addressDict]; | |
MKMapItem *mkMapItem = [[MKMapItemClass alloc] initWithPlacemark:mapPlaceMark]; | |
NSMutableDictionary *launchOptions = [[NSMutableDictionary alloc] init]; | |
[launchOptions setObject:MKLaunchOptionsDirectionsModeDriving forKey:MKLaunchOptionsDirectionsModeKey]; | |
[mkMapItem openInMapsWithLaunchOptions:launchOptions]; | |
// U need to import the native Addressbook framework as well to access the kABPersonAddressStreetKey constant which is set during runtime, i guess. |
/* | |
Before: | |
CGRect frame = myView.frame; | |
frame.origin.x = newX; | |
myView.frame = frame; | |
After: | |
myView.x = newX; | |
#import <UIKit/UIKit.h> | |
@interface UIView (Stacker) | |
- (void)stackSubviews; | |
@end |
#import <UIKit/UIKit.h> | |
@interface UIView (RoundedCorners) | |
- (void)setRoundedCorners:(UIRectCorner)corners radius:(CGSize)size; | |
@end |
// | |
// RSTimingFunction.h | |
// | |
// Created by Raphael Schaad on 2013-09-28. | |
// This is free and unencumbered software released into the public domain. | |
// | |
#import <Foundation/Foundation.h> |
// | |
// SKNode+TouchPriority.h | |
// ButtonLab | |
// | |
// Created by Fille Åström on 10/20/13. | |
// Copyright (c) 2013 IMGNRY. All rights reserved. | |
// | |
#import <SpriteKit/SpriteKit.h> |
#!/bin/sh | |
CURRENT=$(node -v) | |
VERSION=$(curl -L -s http://nodejs.org/dist/latest/ \ | |
| egrep -o '[0-9]+\.[0-9]+\.[0-9]+' \ | |
| tail -n1) | |
PLATFORM=linux | |
ARCH=x64 | |
PREFIX="/usr/local" |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | tee /etc/apt/sources.list.d/mongodb.list | |
apt-get -y update | |
apt-get install -y mongodb-org |
#!/bin/bash | |
HOSTS_ALLOW=/etc/ufw-dynamic-hosts.allow | |
IPS_ALLOW=/var/tmp/ufw-dynamic-ips.allow | |
add_rule() { | |
local proto=$1 | |
local port=$2 | |
local ip=$3 |
I hereby claim:
To claim this, I am signing this object: