This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sampling process 15358 for 3 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Analysis of sampling Deckset (pid 15358) every 1 millisecond | |
Process: Deckset [15358] | |
Path: /Applications/Deckset.app/Contents/MacOS/Deckset | |
Load Address: 0x10056c000 | |
Identifier: com.unsignedinteger.Deckset | |
Version: 1.0 (1) | |
Code Type: X86-64 | |
Parent Process: launchd [150] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
int main (int argc, const char * argv[]) { | |
assert(1 == [[NSObject alloc] retainCount]); | |
assert(1 == [[[NSObject alloc] init] retainCount]); | |
assert(1 == [[NSObject new] retainCount]); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Mail" | |
set nextSelectedMessageID to missing value | |
set selectedMessages to the selection | |
if (count of selectedMessages) = 1 then | |
set selectedMessageID to id of item 1 of selectedMessages | |
-- Find the selected message's position in the list. | |
set selectedMessageIndex to missing value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString *currentProcessBundleID = [[NSBundle mainBundle] bundleIdentifier]; | |
NSLog(@"ClickToFlash: currentProcessBundleID: %@ %d", currentProcessBundleID, [currentProcessBundleID isEqualToString:@"com.apple.Safari"]); | |
//=> ClickToFlash: currentProcessBundleID: com.apple.Safari 1 | |
if ([[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.apple.Safari"]) { | |
NSLog(@"ClickToFlash: bundleForClass self: %@", [[NSBundle bundleForClass:[self class]] bundleIdentifier]); | |
//=> ClickToFlash: bundleForClass self: com.github.rentzsch.clicktoflash | |
static SUUpdater *updater = nil; | |
if (!updater) { | |
updater = [SUUpdater updaterForBundle:[NSBundle bundleForClass:[self class]]]; | |
NSLog(@"ClickToFlash: updater: %@", updater); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git fsck | |
error: refs/heads/master does not point to a valid object! | |
error: refs/remotes/origin/master does not point to a valid object! | |
error: f0605e4f069df29cd835be8bc6f0692c301a148b: invalid sha1 pointer in cache-tree | |
missing blob 176805ed81d7841c887229300ecc782eac95e1f4 | |
missing blob 7970f040498322c2e5a7748b39a23b26444266f2 | |
dangling tag eb18b55601205d959424f1e2f1f6b24b4f853a1a | |
missing blob 3507c82859fd9475d0cea1193fb49edf7c7eb389 | |
dangling tree 514ff35e29cdc92ef77fe2dc09d4a443dd4ae81b | |
missing blob 579d90a4babed216d226064308ba77576f68b93a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wolf-mbp:~ wolf$ cd code/github/clicktoflash | |
wolf-mbp:clicktoflash wolf$ github network list | |
rentzsch | |
pc | |
jdelStrother | |
tgaul | |
defunkt | |
juhagman | |
boredzo | |
correia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Finder" to quit | |
delay 3 | |
tell application "Finder" to activate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wolf-mbp:__ wolf$ git svn clone http://rentzsch.com/svn/trunk/cocoa/mogenerator --trunk=trunk --branches=branches --tags=tags | |
Initialized empty Git repository in /Users/wolf/__/mogenerator/.git/ | |
Using higher level of URL: http://rentzsch.com/svn/trunk/cocoa/mogenerator => http://rentzsch.com/svn | |
W: Ignoring error from SVN, path probably does not exist: (175002): RA layer request failed: REPORT request failed on '/svn/!svn/bc/100': REPORT of '/svn/!svn/bc/100': 200 OK (http://rentzsch.com) | |
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history. | |
This may take a while on large repositories | |
wolf-mbp:__ wolf$ cd mogenerator/ | |
wolf-mbp:mogenerator wolf$ git log | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#define SPARKLE_CUSTOM_CLASS_PREFIX 1 | |
#ifdef SPARKLE_CUSTOM_CLASS_PREFIX | |
#define SPARKLE_CLASS(ORIGINAL_CLASS_NAME) ClickToFlash_##ORIGINAL_CLASS_NAME | |
#else | |
#define SPARKLE_CLASS(ORIGINAL_CLASS_NAME) ORIGINAL_CLASS_NAME | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// As-is, this code results in a compiler warning: | |
// warning: property 'name' requires method '-name' to be defined - use @synthesize, @dynamic or provide a method implementation | |
// warning: property 'name' requires the method 'setName:' to be defined - use @synthesize, @dynamic or provide a method implementation | |
// Set NEEDS_DYNAMIC to 1 to silence the warning. | |
#import <Foundation/Foundation.h> | |
#define NEEDS_DYNAMIC 0 | |
@interface MyClass : NSObject |
OlderNewer