$ brew install reattach-to-user-namespace
Add the following to ~/.tmux.conf
$ brew install mercurial | |
$ brew install vim | |
# if /usr/bin is before /usr/local/bin in your $PATH, | |
# hide the system Vim so the new version is found first | |
$ sudo mv /usr/bin/vim /usr/bin/vim72 |
require('crypto').randomBytes(48).toString('hex'); |
$ git tag -d v1.0
$ git push origin :refs/tags/v1.0
Generate the list yourself:
$ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/
Developer/SDKs/iPhoneOS*.sdk/System/Library/Frameworks/UIKit.framework/Headers
$ grep -H UI_APPEARANCE_SELECTOR ./* | sed 's/ __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_5_0) UI_APPEARANCE_SELECTOR;//'
server { | |
# ... | |
location / { | |
proxy_set_header Accept-Encoding ''; | |
proxy_pass http://<NAME>.tumblr.com/; | |
sub_filter http://<NAME>.tumblr.com/post /post; | |
sub_filter_once off; | |
} |
$ png2ico favicon.ico favicon-16.png favicon-32.png favicon-64.png
// clang -framework Foundation -fobjc-arc -O3 test.m | |
#import <Foundation/Foundation.h> | |
@interface Slice : NSObject | |
@property NSInteger start; | |
@property NSInteger length; | |
@end | |
@implementation Slice |
afconvert -d LEI16 -f 'caff' input.wav output.caf |