Mac Dock显示最近使用的项目 删除
~/Library/Preferences 搜索LSShare
XCode MobileProvision存放路径
~/Library/MobileDevice/Provisioning Profiles/
模拟器沙盒路径
~/Library/Application Support/iPhone Simulator/7.1-64/Applications
也是跟XCode有关的路径
~/Library/Developer/Xcode/DerivedData
python自带库路径
/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4
一些常用的命令行
find . -name '*.m' -exec cat {} \; | wc -l
find . -name '*.h' -exec cat {} \; | wc -l
find . -name '*.xib' -exec cat {} \; | wc -l
find . -name .DS_Store -exec rm {} \;
find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch
cd /Library/apache-tomcat-6.0.39/bin
chmod +x *.sh
sudo sh /Library/apache-tomcat6/bin/startup.sh
sudo sh /Library/apache-tomcat6/bin/shutdown.sh
开机前按住:
command + option + r 网络恢复
command + r
option