I hereby claim:
- I am ellneal on github.
- I am ellneal (https://keybase.io/ellneal) on keybase.
- I have a public key whose fingerprint is 2A9F FF76 88FF 3A82 C35A 8835 37F4 6F2C E0D7 4DD3
To claim this, I am signing this object:
| source "http://rubygems.org" | |
| gem "janky", "~>0.9" | |
| gem "pg" | |
| gem "thin" |
I hereby claim:
To claim this, I am signing this object:
| UIView *staticHeaderView = <#static view#>; | |
| CGRect visibleBounds = self.bounds; | |
| CGRect staticHeaderFrame = staticHeaderView.frame; | |
| CGRect contentRect = CGRectMake(0, 0, self.contentSize.width, self.contentSize.height); | |
| if (CGRectGetMinY(visibleBounds) < CGRectGetMinY(contentRect)) { | |
| staticHeaderFrame = CGRectMake(visibleBounds.origin.x, CGRectGetMinY(contentRect), staticHeaderFrame.size.width, staticHeaderFrame.size.height); | |
| } |
| UIView *staticFooterView = <#static view#>; | |
| CGRect visibleBounds = self.bounds; | |
| CGRect staticFooterFrame = staticFooterView.frame; | |
| CGRect contentRect = CGRectMake(0, 0, self.contentSize.width, self.contentSize.height); | |
| if (CGRectGetMaxY(visibleBounds) > CGRectGetMaxY(contentRect)) { | |
| staticFooterFrame = CGRectMake(visibleBounds.origin.x, CGRectGetMaxY(contentRect) - staticFooterFrame.size.height, staticFooterFrame.size.width, staticFooterFrame.size.height); | |
| } |
| @autoreleasepool { | |
| int result = -1; | |
| @try { | |
| result = UIApplicationMain(argc, argv, nil, NSStringFromClass([<#AppDelegateClassName#> class])); | |
| } | |
| @catch (NSException *exception) { |
| VERSION_NUMBER=`/usr/libexec/PlistBuddy -c "print CFBundleVersion" $INFOPLIST_FILE` | |
| DELIVERY_DIRECTORY="$PROJECT_NAME-$VERSION_NUMBER" | |
| cd $PROJECT_DIR/../ | |
| mkdir $DELIVERY_DIRECTORY | |
| rsync -av --exclude='.git' $PROJECT_DIR $DELIVERY_DIRECTORY | |
| tar -zcvf $DELIVERY_DIRECTORY.tar.gz $DELIVERY_DIRECTORY | |
| rm -rf $DELIVERY_DIRECTORY |
| git checkout -b [LOCAL_BRANCH_NAME] [REMOTE]/[REMOTE_BRANCH_NAME] |
| <#Array Name#> = (NSMutableArray*)CFArrayCreateMutable(NULL, 0, &(const CFArrayCallBacks){0,NULL,NULL,NULL,NULL}); |
| #pragma mark - ADBannerView Show/Hide | |
| - (void)showBannerView:(ADBannerView *)bannerView animated:(BOOL)animated { | |
| if ([bannerView superview] != nil) | |
| return; | |
| UIView *bannerSuperview = <#banner superview#>; | |
| UIView *contentView = <#content view#>; | |