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:
| # flexraid - start/stop FlexRAID 2.0 | |
| # | |
| # This service starts up the FlexRaid process so that RAIDing of Data drives can resume | |
| description "FlexRAID 2.0" | |
| author "Logan Holmes" | |
| start on runlevel [2345] | |
| stop on runlevel [06] |
| (* | |
| AppleScript for use in a TextExpander snippet to print out the date of the next Monday (or whatever day of the week you define) in the format of "Monday 13 April 2011" | |
| Maintained at https://gist.github.com/1251355 | |
| *) | |
| (* Set Weekday and Month names in your language of choice here (for example, French) *) | |
| set day_names to {"dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"} | |
| set month_names to {"janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"} |
| 2011-11-15 13:04:12.310 DropKey[23151:244f] -[NSKeyValueObservationInfo dropKeyFileReaderNotification:]: unrecognized selector sent to instance 0x1001a3f40 | |
| 2011-11-15 13:04:12.310 DropKey[23151:6713] -[WRACryptoOperation start] [Line 47] | |
| 2011-11-15 13:04:12.312 DropKey[23151:244f] An uncaught exception was raised | |
| 2011-11-15 13:04:12.322 DropKey[23151:1b6f] -[WRACryptoOperationEncrypting main] [Line 97] | |
| 2011-11-15 13:04:12.323 DropKey[23151:244f] -[NSKeyValueObservationInfo dropKeyFileReaderNotification:]: unrecognized selector sent to instance 0x1001a3f40 | |
| 2011-11-15 13:04:12.325 DropKey[23151:244f] ( | |
| 0 CoreFoundation 0x00007fff8c9e7286 __exceptionPreprocess + 198 | |
| 1 libobjc.A.dylib 0x00007fff94fded5e objc_exception_throw + 43 | |
| 2 CoreFoundation 0x00007fff8ca734ce -[NSObject doesNotRecognizeSelector:] + 190 | |
| 3 CoreFoundation 0x00007fff8c9d4133 ___forwarding___ + 371 |
| - (void)resetDerivedPathDictionary:(NSMutableDictionary *)aDerivedPathDictionary { | |
| if ([aDerivedPathDictionary count] > 0) { | |
| [aDerivedPathDictionary removeAllObjects]; | |
| } | |
| [aDerivedPathDictionary setObject:[NSMutableArray array] forKey:WRADerivedPathInstructionsKey]; | |
| } | |
| - (void)addLast:(NSInteger)numberOfElements elementsFromBezierPath:(NSBezierPath *)aBezierPath toDerivedPathDictionary:(NSMutableDictionary *)aDerivedPathDictionary atIndex:(NSUInteger)index { | |
| NSLog(@"%s [Line %d]", __PRETTY_FUNCTION__, __LINE__); | |
| # Requires "JSON Helper" app. Available for free in the Mac App Store: http://itunes.apple.com/us/app/json-helper-for-applescript/id453114608?mt=12 | |
| set numberOfParagraphs to 2 | |
| tell application "JSON Helper" | |
| set baconIpsum to fetch JSON from "http://baconipsum.com/api/?type=all-meat&start-with-lorem=1¶s=" & numberOfParagraphs | |
| set resultString to "" | |
| repeat with i from 1 to (count of items in baconIpsum) |
| Jul-09 11:27:12 INFO MAIN :: Checking database structure... | |
| Jul-09 11:27:12 DEBUG MAIN :: Checking Initial Schema database upgrade | |
| Jul-09 11:27:12 DEBUG MAIN :: sickbeard.db: SELECT 1 FROM sqlite_master WHERE name = ?; with args ('tv_shows',) | |
| Jul-09 11:27:12 DEBUG MAIN :: InitialSchema upgrade not required | |
| Jul-09 11:27:12 DEBUG MAIN :: Checking Add Tvr Id database upgrade | |
| Jul-09 11:27:12 DEBUG MAIN :: AddTvrId upgrade not required | |
| Jul-09 11:27:12 DEBUG MAIN :: Checking Add Tvr Name database upgrade | |
| Jul-09 11:27:12 DEBUG MAIN :: AddTvrName upgrade not required | |
| Jul-09 11:27:12 DEBUG MAIN :: Checking Add Airdate Index database upgrade | |
| Jul-09 11:27:12 DEBUG MAIN :: sickbeard.db: SELECT 1 FROM sqlite_master WHERE name = ?; with args ('idx_tv_episodes_showid_airdate',) |
| #!/usr/bin/env bash | |
| du -sk "$@" | sort -nr | cut -f2 | sed 's/.*/\"&\"/' | tr "\\n" " " | xargs du -sh |
| #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` |
I hereby claim:
To claim this, I am signing this object:
| @implementation Interceptor | |
| + (IMP)instanceMethodForSelector:(SEL)aSelector { | |
| NSLog(@"instanceMethodForSelector:"); | |
| IMP result = [super instanceMethodForSelector:aSelector]; | |
| NSLog(@"+[super instanceMethodForSelector:%@] = %p", NSStringFromSelector(aSelector), result); | |
| return result; | |
| } |