I hereby claim:
- I am snown on github.
- I am logan (https://keybase.io/logan) on keybase.
- I have a public key whose fingerprint is 82AF 6207 4B8F E5D5 EC87 F8E3 8FF8 576D 0053 32A7
To claim this, I am signing this object:
| <?php namespace App\Http\Controllers; | |
| use App\Facades\QueryCache; | |
| use App\Http\Requests; | |
| use App\Http\Controllers\Controller; | |
| use App\Models\Account; | |
| use DebugBar\DebugBar; | |
| use Illuminate\Database\Eloquent\Builder as EloquentQuery; |
| // | |
| // UITextView+MTRXUILabel.h | |
| // Site Survey | |
| // | |
| // Created by Logan Holmes on 10/1/14. | |
| // Copyright (c) 2014 Logan Holmes. All rights reserved. | |
| // | |
| #import <UIKit/UIKit.h> |
| #!/usr/bin/env bash | |
| LAUNCH_LIST_PATH=/tmp/launchList | |
| touch $LAUNCH_LIST_PATH | |
| launchctl list > $LAUNCH_LIST_PATH | |
| sudo launchctl list >> $LAUNCH_LIST_PATH | |
| head -n 1 $LAUNCH_LIST_PATH | |
| grep "$@" $LAUNCH_LIST_PATH |
| #!/usr/bin/env bash | |
| VERSION=0.1.0 | |
| USAGE="$(basename "$0") [--ios|--mac] [-f ./file.playground] [Files...] | |
| where: | |
| -h Show this help text | |
| --ios Tells the command to turn the playground into a iOS compatible playground (default). | |
| --mac Tells the command to turn the playground into a iOS compatible playground. | |
| -f The path to a playground file (or you can leave out and all trailing arguments are parsed for playgrounds). |
| extension Array { | |
| mutating func prepend(newitem: T) { | |
| insert(newitem, atIndex: 0) | |
| } | |
| mutating func prepend(itemArray: Array) { | |
| for (index, item) in enumerate(itemArray) { | |
| insert(item, atIndex: index) | |
| } | |
| } | |
| } |
| - (void)addAnimation:(CAAnimation *)anim forKey:(NSString *)key { | |
| DDLogVerboseMethodCall(@" %@", [anim debugDescription]); | |
| CAAnimation *finalAnim = anim; | |
| if ([key isEqualToString:@"position"] && [anim isKindOfClass:[CABasicAnimation class]]) { | |
| CABasicAnimation *contentsRectAnim; | |
| CALayer *presentationLayer = [self presentationLayer]; | |
| if (presentationLayer) { | |
| contentsRectAnim = [anim copy]; | |
| contentsRectAnim.keyPath = @"contentsRect"; |
| @implementation Interceptor | |
| + (IMP)instanceMethodForSelector:(SEL)aSelector { | |
| NSLog(@"instanceMethodForSelector:"); | |
| IMP result = [super instanceMethodForSelector:aSelector]; | |
| NSLog(@"+[super instanceMethodForSelector:%@] = %p", NSStringFromSelector(aSelector), result); | |
| return result; | |
| } |
I hereby claim:
To claim this, I am signing this object:
| #import <UIKit/UIKit.h> | |
| @interface UIGestureRecognizer (NSStringFunctions) | |
| /** | |
| * Returns a string formatted to display the pertenent name of the | |
| * `UIGestureRecognizerState` | |
| * | |
| * Often this just returns the text of the variable name after | |
| * "UIGestureRecognizerState". For Example, `UIGestureRecognizerStatePossible` |
| #!/usr/bin/env bash | |
| du -sk "$@" | sort -nr | cut -f2 | sed 's/.*/\"&\"/' | tr "\\n" " " | xargs du -sh |