markdown 系统设置新mac的东西
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown 系统设置新mac的东西相关的知识,希望对你有一定的参考价值。
```
vagrant plugin install vagrant-hostsupdater &&
vagrant plugin install vagrant-scp &&
vagrant plugin install vagrant-vbguest &&
vagrant plugin install vagrant-triggers &&
vagrant plugin install vagrant-remove-old-box-versions &&
vagrant plugin update
```
```
chflags nohidden ~/Library &&
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2 &&
defaults write -g NSScrollViewRubberbanding -int 0 &&
defaults write com.apple.addressbook ABShowDebugMenu -bool YES &&
defaults write com.apple.appstore ShowDebugMenu -bool true &&
defaults write com.apple.DiskUtility DUDebugMenuEnabled 1 &&
defaults write com.apple.dock expose-animation-duration -int 0 &&
defaults write com.apple.dock hide-mirror -bool true &&
defaults write com.apple.dock pinning -string start &&
defaults write com.apple.Dock showhidden -bool YES &&
defaults write com.apple.helpviewer DevMode -bool true &&
defaults write com.apple.iPhoto EmailApp Postbox &&
defaults write com.apple.iTunes disable-elastic-scroll -bool YES &&
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no &&
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false &&
defaults write com.apple.QuickTimePlayerX MGCinematicWindowDebugForceNoRoundedCorners 1 &&
defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool true &&
defaults write com.google.Chrome DisablePrintPreview -boolean true &&
defaults write com.apple.TextEdit ShowRuler 0 &&
defaults write com.google.Chrome.plist AppleEnableSwipeNavigateWithScrolls -bool FALSE &&
defaults write com.sublimetext ApplePressAndHoldEnabled -bool false &&
defaults write NSGlobalDomain KeyRepeat -int 0 &&
defaults write com.apple.finder FXEnExtensionChangeWarning -bool false &&
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO &&
defaults write NSGlobalDomain NSWindowResizeTime .1 &&
killall Dock;
killall SystemUIServer;
```
```
npm install -g npm@latest &&
npm install -g gulp &&
npm install -g csscomb &&
npm install -g keybase-installer &&
npm install -g bower &&
npm install -g a11y &&
```
```
brew doctor && brew update && brew install bash-completion ssh-copy-id wget legit node z coreutils cask && brew install vim --with-python --with-ruby --with-perl && brew install macvim --env-std --override-system-vim && brew prune
```
```
brew cask install python3 &&
brew cask install quicksilver &&
brew install vim --with-python -with-ruby --with-perl &&
brew install macvim --env-std --override-system-vim &&
pip install powerline-status &&
brew install --with-qt5 mkvtoolnix &&
brew install caskroom/cask/brew-cask keybase-installer
```
# New computer setup
* a/o 2016-05-21 *
--
## Format the drive
1. Restart with Cmd-R or Cmd-D
2. Erase drive / 3x if second-hand
3. Reinstall MacOS
--
## First boot
1. Change system password.
2. Edit System Prefs
```
Security & Privacy
disable Location services
allow apps
enable Filevault (or later, after 1Password) // Or not, if a hybrid drive!
Desktop
disable screen saver
background: 17% grey
Spotlight
turn off command keys
disable almost everything
Network
set DNS to [OpenDNS](http://www.opendns.com/opendns-ip-addresses/)
208.67.222.222
208.67.220.220
```
--
### Get online
- Safari: download [Dropbox](//www.dropbox.com/downloading?src=index)
- Dropbox: selective sync: just `/Writing` + `/1Password`
- Safari: download [1Password](https://agilebits.com/downloads)
- Safari: download [Quicksilver](http://qsapp.com/download.php)
- Quicksilver: download Quicksilver plugins, especially `Extra Scripts`
- Safari: download [Chrome](//www.google.com/chrome/browser/desktop/)
- Download [iTerm 2](//iterm2.com/)
--
### Install OS X CLI Tools
*and/or install Xcode if you want, from the App Store*
> `xcode-select —install`
Or download from [Apple dev center](https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-)
### [ZSH](https://github.com/robbyrussell/oh-my-zsh)
*cf. [Gist](https://gist.github.com/maxfenton/515f9f6fcfab0eadfd1a)*
> `curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh`
### Install [Homebrew](http://brew.sh/)
* see the brew.md file attached to this gist*
> `ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”`
> `sudo chown $USER /usr/local && brew doctor && brew update`
### Run system stuff in gist below
> https://gist.github.com/maxfenton/515f9f6fcfab0eadfd1a
### Setup writer folder and nvAlt
- Dropbox selective sync: `Writer` folder
- Download [nvAlt](http://brettterpstra.com/projects/nvalt/)
- set nvAlt to use `Writer` folder
### Download apps from App Store
### Download apps from the Web
- [AppZapper](//www.appzapper.com/) - `brew cask install appzapper`
- [Arq](//www.haystacksoftware.com/arq/) - `brew cask install arq`
- [Bartender](//www.macbartender.com/) - `brew cask install bartender`
- <strike>[Codekit](//incident57.com/codekit/) - `brew cask install codekit`</strike>
- <strike>[CSS Comb](//csscomb.com/)</strike>
- [Disk Inventory X](//www.derlien.com/) - `brew cask install disk-inventory-x`
- [Divvy](//mizage.com/divvy/) - `brew cask install divvy`
- [Fluid](//fluidapp.com/) - `brew cask install fluid`
- [Flux](//justgetflux.com/) - `brew cask install flux`
- [GitHub](//mac.github.com/) - `brew cask install github`
- [GPGtools](//gpgtools.org) - `brew cask install gpgtools`
- [ImageOptim](//imageoptim.com/) - `brew cask install imageoptim`
- [MAMP Pro](//www.mamp.info/en/downloads/index.html)
- [OmniFocus](//www.omnigroup.com/omnifocus/)
- [Pacifist](//www.charlessoft.com) - `brew cask install pacifist`
- [Postbox](//www.postbox-inc.com/)
- [Prey](https://preyproject.com) - `brew cask install prey`
- [Quicktime 7](//support.apple.com/kb/DL923)
- [Sequel Pro](//www.sequelpro.com/download) - `brew cask install sequel-pro`
- [ShrinkIT](//www.panic.com/~will/shrinkit/) - `brew cask install shrinkit`
- [SourceTree](//www.sourcetreeapp.com/download/)
- [Sublime Text](//www.sublimetext.com/3) - `brew cask install sublime-text`
- [SublimeText Package Control](https://sublime.wbond.net/)
- [Superduper](//www.shirt-pocket.com/SuperDuper SuperDuperDescription.html) - `brew cask install superduper`
- [Synergy](//synergy-project.org)
- [TextExpander](//smilesoftware.com/TextExpander/download.html)
- [TextMate](//macromates.com/download)
- [Transmission](//www.transmissionbt.com/download/)
- [Transmit](//panic.com/transmit/)
- [Vagrant](//www.vagrantup.com/downloads.html)
- [VirtualBox](//www.virtualbox.org/wiki/Downloads)
- [VLC](//videolan.org) -- `brew cask install vlc`
- [Web Sharing Pref](//clickontyler.com/web-sharing/)
- [xScope](//iconfactory.com/software/xscope)
- [KSDiff](http://www.kaleidoscopeapp.com/ksdiff2?v=133.01)
- [Tower](https://www.git-tower.com/)
<strike>
### Download specific legacy software from Dropbox
- Automator Dispense - _Install%20Automator%20Action.pkg_
- BBEdit - _BBEdit_10.1.2.dmg_
- CSS Edit - _CSSEdit2.6.1.dmg_
- iTunes 11.4
### Download [ievms](//github.com/xdissent/ievms) (or don't)
> `curl -s https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | bash`
### Downgrade iTunes
> Downgrade to lowest iTunes that works (11.4) using Pacifist to install.
</strike>
### AppZap built in apps
> Chess, GarageBand, Maps, iBooks, Game Center, iTunes
### Firefox, Safari, Chrome
- Firefox: setup Sync (or don''t)
- Chrome: setup Sync (or don''t)
- adblock + settings - <https://github.com/gorhill/uBlock/>
- stylebot + settings - <https://chrome.google.com/webstore/detail/stylebot/oiaejidbmkiecgbjeifoejpgmdaleoha>
### Calendars
> setup Google and Fastmail accounts in BusyCal
### Email
> setup Fastmail account in Postbox (or don't)
### Powerline
*https://powerline.readthedocs.org/en/latest/installation/osx.html*
- https://github.com/powerline/powerline
- https://github.com/powerline/fonts // Powerline fonts
- https://github.com/nathco/Office-Code-Pro // Office Code Pro font
### Keybase and GPG
- [GPG](http://notes.jerzygangi.com/the-best-pgp-tutorial-for-mac-os-x-ever/)
- Keybase
以上是关于markdown 系统设置新mac的东西的主要内容,如果未能解决你的问题,请参考以下文章
markdown Mac os上下文菜单服务:向mac os上下文菜单添加新服务