$ brew install reattach-to-user-namespace
Add the following to ~/.tmux.conf
$ # install QCacheGrind (KCacheGrind) | |
$ brew install qcachegrind | |
$ brew install graphviz | |
$ brew linkapps | |
$ pip install django-extensions | |
$ # run profiling server | |
$ ./manage.py runprofileserver 0:3000 --kcachegrind --prof-path=path/to/profiles |
# A list of possible usernames to reserve to avoid | |
# vanity URL collision with resource paths | |
# It is a merged list of the recommendations from this Quora discussion: | |
# http://www.quora.com/How-do-sites-prevent-vanity-URLs-from-colliding-with-future-features | |
# Country TLDs found here: | |
# http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Country_code_top-level_domains | |
# Languages found here: |
A list of possible usernames to reserve to avoid vanity URL collision with resource paths: | |
about | |
account | |
activate | |
admin | |
api | |
app | |
apps | |
archive |
$ 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; | |
} |