Skip to content

Instantly share code, notes, and snippets.

View neror's full-sized avatar

Nathan Eror neror

View GitHub Profile
@neror
neror / example_run
Created March 12, 2011 23:55
Trace call stacks of random objc methods
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)
@neror
neror / Log to Day One.scpt
Created June 19, 2012 22:35 — forked from jeredb/Log to Day One.scpt
Based on Brett Terpstra's Log Taskpaper Archives to Day One, except for Omnifocus.
(*
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

Keybase proof

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: