- Postgresql.app http://postgresapp.com/
- homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- node.js
brew install npm
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
brew install npm
// ref from: http://stackoverflow.com/questions/20241256/ios-app-default-language-en-is-not-applied | |
// remove what was previously stored in NSUserDefaults (otherwise the previously selected language will be still the first one in the list and your app won't be localized in the language selected in settings) | |
[[NSUserDefaults standardUserDefaults] setObject:nil forKey:@"AppleLanguages"]; | |
[[NSUserDefaults standardUserDefaults] synchronize]; // make the change immediate | |
// reorder the languages so English is always the default fallback | |
NSMutableArray *mutableLanguages = [[NSLocale preferredLanguages] mutableCopy]; | |
NSInteger enIndex = NSNotFound; | |
for (NSString *lang in mutableLanguages) { if ([lang isEqualToString:@"en"]) { enIndex = [mutableLanguages indexOfObject:lang]; break; } } | |
@try { |
# BasedOnStyle: WebKit | |
AccessModifierOffset: -4 | |
AlignEscapedNewlinesLeft: false | |
AlignTrailingComments: false | |
AllowAllParametersOfDeclarationOnNextLine: true | |
AllowShortFunctionsOnASingleLine: false | |
AllowShortIfStatementsOnASingleLine: true | |
AllowShortLoopsOnASingleLine: false | |
AlwaysBreakBeforeMultilineStrings: false | |
AlwaysBreakTemplateDeclarations: false |
from :http://www.entropy.ch/blog/Developer/2010/04/15/Git-diff-for-Localizable-strings-Files.html
First, add this to the project’s .git/info/attributes file:
*.strings diff=localizablestrings
Unfortunately you do have to add it to every project, there doesn’t seem to be a global attributes configuration file
Second, add this to your ~/.gitconfig file:
;;; 在 Mac OS X 上設定 org-mode 表格可以正確對齊的中文字體設定 - Dev Notes | |
;;; http://kkdevs.tumblr.com/post/38276076979/mac-os-x-org-mode | |
(defun set-font (english english-size chinese chinese-size) | |
(set-face-attribute 'default nil :font | |
(format "%s:pixelsize=%d" english english-size)) | |
(dolist (charset '(kana han symbol cjk-misc bopomofo)) | |
(set-fontset-font (frame-parameter nil 'font) charset | |
(font-spec :family chinese :size chinese-size)))) | |
(set-font "Monaco" 13 "STHeiti" 13) |
#!/bin/bash | |
## Mini-Xcode: XCode 5 | |
MIN_VERSION="6.0" | |
# set default output folder is build | |
OUTPUT_FOLDER=${PREFIX-build} | |
# set default compiler | |
CC=${CC-$(xcrun --find gcc)} |
BeautifulSoup==3.2.1 | |
GitPython==0.3.2.RC1 | |
PIL==1.1.7 | |
Pastebin==1.1.1 | |
PyGithub==1.16.0 | |
Scrapy==0.18.2 | |
SimpleCV==1.3 | |
Twisted==13.1.0 | |
argparse==1.2.1 | |
astroid==1.0.0 |
$ pip install uniout | |
Downloading/unpacking uniout | |
Downloading uniout-0.3.2.tar.gz | |
Running setup.py egg_info for package uniout | |
Traceback (most recent call last): | |
Complete output from command python setup.py egg_info: | |
running egg_info | |
creating pip-egg-info/uniout.egg-info |
;;; base on https://gist.github.com/coldnew/7398835 | |
(defvar emacs-english-font nil | |
"The font name of English.") | |
(defvar emacs-cjk-font nil | |
"The font name for CJK.") | |
(defvar emacs-font-size-pair nil | |
"Default font size pair for (english . chinese)") |