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 diff --stat HEAD^ |vim - | |
gf |
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
static BOOL shouldHandleEndInterruptionOnBecomingActive = NO; | |
+ (void)endInterruption | |
{ | |
if ([UIApplication sharedApplication].applicationState == UIApplicationStateActive) { | |
[self innerHandleEndInterruption]; | |
} else { | |
shouldHandleEndInterruptionOnBecomingActive = YES; | |
} | |
} |
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
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID |
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
x-xcode-module://UIKit.UIViewController?language=Xcode.SourceCodeLanguage.Swift&source-header=/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h&swift-sdk=iphoneos9.0&swift-target=arm64-apple-ios9.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
UNCAUGHT EXCEPTION (NSInternalInconsistencyException): self.cursorMode shoud be CURSOR_MODE_COMMAND |
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
Process: Xcode [39406] | |
Path: /Applications/Xcode.app/Contents/MacOS/Xcode | |
Identifier: com.apple.dt.Xcode | |
Version: 7.2.1 (9548.1) | |
Build Info: IDEFrameworks-9548001000000000~2 | |
App Item ID: 497799835 | |
App External ID: 816142004 | |
Code Type: X86-64 (Native) | |
Parent Process: ??? [1] | |
Responsible: Xcode [39406] |
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
NSClipView | |
var drawsBackground: Bool | |
OBJECTIVE-C | |
@property BOOL drawsBackground | |
Discussion | |
If your NSClipView is enclosed in an NSScrollView, | |
you should set the drawsBackground property on the NSScrollView. | |
NSClipViewがNSScrollViewに埋め込まれている場合、NSScrollViewのdrawsBackgroundプロパティをセットするべきである。 |
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
int var1; | |
#if 0 | |
int var2; | |
#endif | |
int var3; | |
#if 0 | |
int var4; | |
#endif | |
#if 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
#include <stdio.h> | |
class ThreadUtility | |
{ | |
public: | |
static std::string thread_id_string(std::thread& th) { | |
std::stringstream ss; | |
ss << th.get_id(); | |
return ss.str(); | |
} |
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
close Xcode | |
$ cd ~/Library/Application\ Support/Developer/Shared/Xcode | |
rename directory Plug-ins to Plug-ins-foo | |
open Xcode | |
close Xcode | |
rename back Plug-ins-foo to Plug-ins | |
open Xcode |
OlderNewer