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
1. Open terminal.app | |
2. Paste this command: defaults write NSGlobalDomain WebKitDeveloperExtras -bool true | |
(credit: https://twitter.com/defaultswrite/status/220164244954554368) | |
3. Open Rdio.app | |
4. Right click and show the inspector panel | |
5. In the console section, paste this line: $("head").append('<link href="https://s3.amazonaws.com/simon-dev/css/rdio.css" rel="stylesheet" type="text/css">') |
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> | |
/* | |
clang --analyze readonly-property-analyzer.m | |
readonly-property-analyzer.m:20:2: warning: Incorrect decrement of the reference count of an object that is not owned at this point by the caller | |
[_string release]; | |
^~~~~~~~~~~~~~~~~ | |
1 warning generated. |
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 Cocoa | |
var MAYBE: Bool { | |
get { | |
return Bool(Int(arc4random_uniform(2))) | |
} | |
} | |
var thisIsTotallyAGoodIdea = MAYBE |
NewerOlder