Mac Tricks (updating)

## App Download sites

* Xclient

* macXstore

* MacX

* PC6

## Add Space to Dock

defaults write com.apple.dock persistent-apps -array-add {"tile-type"="spacer-tile";}; killall Docn

## Show/Hide Hidden files

defaults write com.apple.finder AppleShowAllFiles YES; killall Finderndefaults write com.apple.finder AppleShowAllFiles NO; killall Findern

## Set up shadowsocks proxy

alias pon=export http_proxy=http://localhost:ss_portnumber;export https_proxy=$http_proxy nalias poff=unset http_proxy;unset https_proxyn

## Install homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"n

## Oh My Zsh

sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"n

## Command line tools 8.3.2 for macOS 10.12

https://download.developer.apple.com/Developer_Tools/Command_Line_Tools_for_Xcode_8.3.2/CommandLineToolsforXcode8.3.2.dmgn

## Change row and column num of LaunchPad

defaults write com.apple.dock springboard-columns -int X;ndefaults write com.apple.dock springboard-rows -int X;n# defaults write com.apple.dock ResetLaunchPad -bool TRUE;nkillall Dockn

推薦閱讀:

像QQ遊戲這樣的界面應該用什麼框架開發比較好?
office安裝報錯,已用官方清理工具清理,但是仍然報錯是怎麼回事?
如何成為一個好的組長?
程序員們在寫自己用的小程序的時候會考慮設計模式,編程規範等什麼嗎?還是夠用就好呢?
計算機學科本科可參加的國際競賽?

TAG:Mac | 软件开发 | 教程 |