mbp setting

2017/02/06

一 softwares

study

  • kindle
  • 有道
  • evernote

code

  • brew
    • brew services start mongodb Or, if you don't want/need a background service you can just run: mongod --config /usr/local/etc/mongod.conf
    • brew services start mysql
    • brew services start redis if you don't want/need a background service you can just run: redis-server /usr/local/etc/redis.conf
  • node
  • charles(抓包)
  • webstorm
  • beyondCompare
    • 无限试用:rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
  • xcode(git,svn)
  • node
  • npm 包权限问题 https://www.kancloud.cn/shellway/npm-doc/199985
  • studio
  • Dash:离线文档
  • mongodb
  • iterm2
  • mysql
  • oh my zsh

browers

  • chrome
  • firefox

design

  • sketch

communication

  • QQ
  • WeChat

else

  • 搜狗输入法
  • Rar
  • 百度网盘

二 setting

  • 显示隐藏文件夹
  1. 早期的OS X(10.6~10.8)系统可以使用如下两条命令来开始或者关闭系统隐藏文件的显示:
defaults write com.apple.Finder AppleShowAllFiles Yes && killall Finder //显示隐藏文件

defaults write com.apple.Finder AppleShowAllFiles No && killall Finder //不显示隐藏文件
  1. 当升级到OS X 10.9 Mavericks版本之后,这两条命令需要做一些修改,变成了如下命令:
defaults write com.apple.finder AppleShowAllFiles Yes && killall Finder //显示隐藏文件

defaults write com.apple.finder AppleShowAllFiles No && killall Finder //不显示隐藏文件

显示文件路径

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

查看端口占用及杀死进程

lsof -i :3000

kill -9 3083