This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface HeaderView : UIView | |
@end | |
@implementation HeaderView | |
- (instancetype)initWithFrame:(CGRect)frame { | |
self = [super initWithFrame:frame]; | |
if (self) { | |
self.backgroundColor = UIColor.blueColor; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
function architectures() { | |
if $(lipo -info $1 | grep -q 'not a fat file'); then | |
lipo -info $1 | awk -F ': ' '/Non-fat file/ { print $3 }' | |
else | |
lipo -detailed_info $1 | awk '/^architecture / { print $2 }' | |
fi | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "MLViewControllerCollectionViewCell.h" | |
@implementation MLViewControllerCollectionViewCell | |
- (void)setViewController:(UIViewController *)viewController parentViewController:(UIViewController*)parentViewController { | |
if (_viewController != viewController) { | |
if (_viewController) { | |
[_viewController removeFromParentViewController]; | |
[_viewController.view removeFromSuperview]; | |
[_viewController didMoveToParentViewController:nil]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface MLViewControllerCollectionViewCell : UICollectionViewCell | |
@property (nonatomic, strong, readonly) UIViewController *viewController; | |
- (void)setViewController:(UIViewController *)viewController parentViewController:(UIViewController*)parentViewController; | |
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 bytes from 173.194.33.1: icmp_seq=0 ttl=56 time=656.752 ms | |
64 bytes from 173.194.33.1: icmp_seq=1 ttl=56 time=768.266 ms | |
64 bytes from 173.194.33.1: icmp_seq=2 ttl=55 time=910.722 ms | |
64 bytes from 173.194.33.1: icmp_seq=3 ttl=56 time=829.643 ms | |
64 bytes from 173.194.33.1: icmp_seq=4 ttl=56 time=446.671 ms | |
64 bytes from 173.194.33.1: icmp_seq=5 ttl=55 time=140.077 ms | |
64 bytes from 173.194.33.1: icmp_seq=6 ttl=55 time=381.253 ms | |
64 bytes from 173.194.33.1: icmp_seq=7 ttl=55 time=73.656 ms | |
64 bytes from 173.194.33.1: icmp_seq=8 ttl=55 time=124.053 ms | |
64 bytes from 173.194.33.1: icmp_seq=9 ttl=55 time=968.722 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// DataManager.h | |
#import <Foundation/Foundation.h> | |
#import <CoreData/CoreData.h> | |
extern NSString * const DataManagerDidSaveNotification; | |
extern NSString * const DataManagerDidSaveFailedNotification; | |
@interface DataManager : NSObject { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MKMapView+Additions.h | |
// ParkingMobility | |
// | |
// Created by Michael Nachbaur on 10-09-12. | |
// Copyright 2010 Decaf Ninja Software. All rights reserved. | |
// | |
#import <MapKit/MapKit.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!perl | |
use 5.010; | |
use LWP::UserAgent; | |
use Getopt::Long; | |
use YAML::XS; | |
$ENV{JAVA_HOME} = 'C:\Program Files\Java\jdk1.6.0_21'; | |
$ENV{ANT_HOME} = 'C:\SeleniumGrid\apache-ant-1.8.1'; | |
$ENV{SELENIUM_HOME} = 'C:\SeleniumGrid\selenium-grid-1.0.8'; | |
$ENV{PATH} = qq($ENV{JAVA_HOME}\\bin;$ENV{PATH};"$ENV{ANT_HOME}\\bin"); |
NewerOlder