Mac Tricks

less than 1 minute read

Published:

App Download sites

  • xclient.info
  • macxstore.com
  • macx.cn
  • pc6.com/mac

Add Space to Dock

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

Show/Hide Hidden files

defaults write com.apple.finder AppleShowAllFiles YES
defaults write com.apple.finder AppleShowAllFiles NO
killall Finder

Set up shadowsocks proxy

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