(use-package magit-find-file :ensure t :after magit :config (with-eval-after-load ‘projectile (defadvice projectile-current-project-files (around jafo/pcpf activate) “Use magit-find-file-files which is faster.” (if (magit-git-repo-p (projectile-project-root)) (setq ad-return-value (magit-find-file-files))
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
void SFFUserEventHandlerImpl::pageMoreComments(const feedsdk::FeedElementViewmodel &feedElementViewModel, | |
const std::shared_ptr<feedsdk::LayoutFactoryDelegate> &layoutDelegate) { | |
//_layoutDelegate = layoutDelegate; | |
// auto feedElementIdentifier = feedElementViewModel.identifier; | |
// auto dataManager = make_shared<FSFeedItemDetailDataManager>(_cacheService); | |
// auto commentPage = dataManager->getCommentPageForFeedElementWithId(feedElementIdentifier); | |
// auto commentAction = _feedAPI->create_comment_action(shared_from_this()); | |
// commentAction->getCommentNextPage(feedElementIdentifier, commentPage->next_page_url, dataManager); | |
} |
I hereby claim:
- I am threeve on github.
- I am threeve (https://keybase.io/threeve) on keybase.
- I have a public key ASAzZWJpQMo9dcwosc5MWKA6WO7dEvVkWJhjBFWBDURUZwo
To claim this, I am signing this object:
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> | |
@interface Foo : NSObject | |
@end | |
@implementation Foo | |
- (NSString*)description; | |
{ | |
return @"this\nhas\nnewlines"; |
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 <UIKit/UIKit.h> | |
@interface ZMBViewController : UIViewController | |
@end |
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
@protocol SignalDelegate | |
- (void)signalDidChange:(Signal*)signal; // change to suit your needs | |
@end | |
@interface Signal | |
@property id<SignalDelegate> delegate; | |
... | |
@end |
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 "RAScrollClipView.h" | |
@implementation RAScrollClipView | |
@synthesize scrollView; | |
- (void)dealloc; | |
{ | |
self.scrollView = nil; |
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 "AutoAutoViewController.h" | |
#define RAScopeAutorelease() \ | |
NSAutoreleasePool *$ra_pool##__LINE__ __attribute__((cleanup($ra_scopeDrainAutoreleasePool))) = [NSAutoreleasePool ra_pool]; (void)$ra_pool##__LINE__ | |
void $ra_scopeDrainAutoreleasePool( NSAutoreleasePool **pool ) | |
{ | |
[*pool drain]; | |
} |
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 <UIKit/UIKit.h> | |
@interface RATopAlignedLabel : UILabel | |
@end |
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
var op = NSBlockOperation.Create (delegate { | |
Console.WriteLine("this happened"); | |
}); | |
NSOperationQueue.MainQueue.AddOperation (op); |
NewerOlder