I hereby claim:
- I am neror on github.
- I am neror (https://keybase.io/neror) on keybase.
- I have a public key ASDuz27iFI7JlgySi0FfYmFAaB8XAC4JNgbz2H_WjkhMswo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(* | |
Jered Benoit | |
jeredb.com | |
Omnifocus -> Day One Daily Completed Task Log | |
Based upon [Version 1.0] [1] of [OmniFocus - Weekly Project Report Generator] [2] | |
Originally Authored by Chris Brogan and Rob Trew | |
February 5, 2012 |
neror@neror-laptop:~/Work/Cocoa/DTrace$ ps aux|grep FTAnimationExamples | |
neror 21643 0.0 0.0 2435120 544 s000 S+ 6:21PM 0:00.00 grep FTAnimationExamples | |
neror 21570 0.0 0.3 777004 27784 ?? SX 6:12PM 0:02.81 /Users/neror/Library/Application Support/iPhone Simulator/4.3/Applications/C624085B-7FA1-4860-BE75-EEF244470FBF/FTAnimationExamples.app/FTAnimationExamples | |
neror@neror-laptop:~/Work/Cocoa/DTrace$ sudo ./traceMethodFlow.d -p21570 "FTAnimation*" "-fade*" | |
dtrace: script './traceMethodFlow.d' matched 63636 probes | |
CPU FUNCTION | |
1 -> -fadeAnimationFor:duration:delegate:startSelector:stopSelector:fadeOut: FTAnimationManager | |
1 -> +animationWithKeyPath: CAPropertyAnimation | |
1 -> +alloc NSObject(NSObject) | |
1 -> +allocWithZone: NSObject(NSObject) |
git ls-files -o|python -c "import sys;[sys.stdout.write(\"'\"+s.strip()+\"'\\n\") for s in sys.stdin.readlines()]"|xargs rm |
(in /Volumes/Docs/Writing/PragProg/bdcora2/Book) | |
[1;32mTEXINPUTS=.:local/tex:../PPStuff/util/tex/BOOK:../PPStuff/util/tex::../PPStuff/bibliography:../PPStuff/sales_blurb </dev/null latex book | ruby "/Volumes/Docs/Writing/PragProg/bdcora2/PPStuff/util/bin/tidyop.rb" --quiet[0m | |
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) | |
restricted \write18 enabled. | |
entering extended mode | |
(./book.tex | |
LaTeX2e <2009/09/24> | |
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge | |
rman-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, armenian | |
, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, u |
(in /Volumes/Docs/Writing/PragProg/bdcora2/Book) | |
[1;32mTEXINPUTS=.:local/tex:../PPStuff/util/tex/BOOK:../PPStuff/util/tex::../PPStuff/bibliography:../PPStuff/sales_blurb </dev/null latex book | ruby "/Volumes/Docs/Writing/PragProg/bdcora2/PPStuff/util/bin/tidyop.rb" --quiet[0m | |
kpathsea: Running mktextfm pzdr | |
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input pzdr | |
This is METAFONT, Version 2.718281 (TeX Live 2010) | |
kpathsea: Running mktexmf pzdr | |
! I can't find file `pzdr'. |
#import <Foundation/Foundation.h> | |
void PrintPathInfo(); //section 1 | |
void PrintProcessInfo(); //section 2 | |
void PrintBookmarkInfo(); //section 3 | |
void PrintIntrospectionInfo(); //section 4 | |
int main (int argc, const char * argv[]) { | |
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; |
BEGIN TRANSACTION; | |
CREATE TABLE vehicle_type ( | |
id int primary key, | |
name text | |
); | |
INSERT INTO "vehicle_type" VALUES(1,'Car'); | |
INSERT INTO "vehicle_type" VALUES(2,'Truck'); | |
CREATE TABLE make ( | |
id int primary key, | |
name text |
-(void)playMovieAtURL:(NSURL*)theURL { | |
MPMoviePlayerController* theMovie = [[MPMoviePlayerController alloc] initWithContentURL:theURL]; | |
theMovie.scalingMode = MPMovieScalingModeAspectFill; | |
theMovie.movieControlMode = MPMovieControlModeHidden; | |
// Register for the playback finished notification. | |
[[NSNotificationCenter defaultCenter] addObserver:self | |
selector:@selector(myMovieFinishedCallback:) | |
name:MPMoviePlayerPlaybackDidFinishNotification |
- (UIImage *)createBlurredGrayscaleScreenshotWithRange:(int)blurRange { | |
NSDate *now = [NSDate date]; | |
FTLOG(@"%f: %@", [now timeIntervalSinceNow], NSStringFromSelector(_cmd)); | |
UIGraphicsBeginImageContext(self.bounds.size); | |
[self.layer renderInContext:UIGraphicsGetCurrentContext()]; | |
UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); | |
UIGraphicsEndImageContext(); | |
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceGray(); | |
int bitsPerComponent = CGImageGetBitsPerComponent([viewImage CGImage]); |