I hereby claim:
- I am aufflick on github.
- I am markaufflick (https://keybase.io/markaufflick) on keybase.
- I have a public key whose fingerprint is 6EBB 627B B1E6 79A5 F8A9 2700 055F DC37 3648 DE8B
To claim this, I am signing this object:
command script import /opt/lldb-scripts/reveal.py | |
command alias interface_inspector p (BOOL)[[NSBundle bundleWithPath:@"/Applications/Interface Inspector.app/Contents/Resources/InterfaceInspectorRemote.framework"] load] | |
command alias reveal_load_sim expr (void*)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 0x2); | |
command alias reveal_load_dev expr (void*)dlopen([(NSString*)[(NSBundle*)[NSBundle mainBundle] pathForResource:@"libReveal" ofType:@"dylib"] cStringUsingEncoding:0x4], 0x2); | |
command alias reveal_start expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil]; | |
command alias reveal_stop expr (void)[(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStop" object:nil]; |
I hereby claim:
To claim this, I am signing this object:
@implementation CJTestCJCard | |
- (void)setUpClass { | |
// swap the release implementations | |
Method releaseMethod = class_getInstanceMethod([NSObject class], | |
@selector(release)); | |
Method releaseLogMethod = class_getInstanceMethod([NSObject class], | |
@selector(releaseLog)); | |
IMP origReleaseImp = method_setImplementation(releaseMethod, |
- (void) testBInsert | |
{ | |
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; | |
for (int i=0 ; i < 10 ; i++) { | |
CJCard *card = [[CJCard alloc] init]; | |
card.name = [NSString stringWithFormat:@"card %d", i]; | |
card.type = CJCARD_OTHER_STRING; | |
[card commit]; | |
[card release]; |
#import <objc/objc-class.h> | |
@implementation NSObject (override) | |
- (void) releaseLog | |
{ | |
fprintf(stderr, "release: %s\n", class_getName([self class])); | |
// now call the original implementation (swapped with releaseLog) | |
// to actually effect the release | |
[self releaseLog]; |
release: NSInvocation | |
autorelease: UINavigationItem | |
release: GHUnitIPhoneViewController | |
autorelease: UINavigationButton | |
release: NSInvocation | |
autorelease: UINavigationItem | |
release: NSMethodSignature | |
autorelease: NSCFString | |
release: NSThread |
#0 0x90f4ced7 in objc_msgSend | |
#1 0x03d25400 in ?? | |
#2 0x00002754 in -[CJTestCJCard testBInsert] at CJTestCJCard.m:91 | |
#3 0x0000dfc2 in +[GHTesting runTestWithTarget:selector:exception: | |
interval:reraiseExceptions:] at GHTesting.m:245 | |
#4 0x0000e6fd in -[GHTest run:] at GHTest.m:205 | |
#5 0x0000fbec in -[GHTestGroup _run:] at GHTestGroup.m:304 | |
#6 0x0000fbec in -[GHTestGroup _run:] at GHTestGroup.m:304 | |
#7 0x0001199b in -[GHTestRunner runTests] at GHTestRunner.m:132 | |
#8 0x000115c9 in -[GHTestRunner _runInBackground] at GHTestRunner.m:150 |
gen/wxe_events.cpp: In function 'void initEventTable()': | |
gen/wxe_events.cpp:277: error: 'wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN' was not declared in this scope | |
gen/wxe_events.cpp:278: error: 'wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP' was not declared in this scope | |
gen/wxe_events.cpp:279: error: 'wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN' was not declared in this scope | |
gen/wxe_events.cpp:280: error: 'wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP' was not declared in this scope | |
gen/wxe_events.cpp:281: error: 'wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED' was not declared in this scope | |
gen/wxe_events.cpp:282: error: 'wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE' was not declared in this scope | |
gen/wxe_events.cpp:283: error: 'wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK' was not declared in this scope | |
make[3]: *** [i386-apple-darwin9.8.0/wxe_events.o] Error 1 |
#!/opt/bin/perl -w | |
package IRC::Bot2; | |
use strict; | |
use warnings; | |
use Moose; | |
extends 'IRC::Bot'; | |
use IRC::Bot::Log::Extended; |