User Tools

Site Tools


mac-os-x

MAC OS X

Eclipse shortcut

SQLite frontend Manager

XCode

Use cmd + shift + f for complete Xcode search.

Enable/Disable spotlight service

cd /System/Library/LaunchDaemons
sudo launchctl load -w com.apple.metadata.mds.plist
launchctl unload -w com.apple.metadata.mds.plist
mdutil -a -i on /

shortcut

Lock the screen

ctrl+shift+右上角的推出键

ntfsfree

On Mac OS X 10.9, install the ntfs-free for ntfs write, it works now, fuck Apple.

http://sourceforge.net/projects/ntfsfree/files/?source=navbar

mount --bind

If you are the linux user, you should know the powerful mount –bind command, because you don't need to copy&paste the files to the physical directory, but the behaviour should be the same with this command, you can dynamic share some files to the specific directory, and remove it after finish it.

But on Mac OS X, the mount command doesn't support the option “–bind”, so after some google, I find there has one workaround for this, use the bindfs(http://bindfs.org/).

So first download the source code from here:

http://bindfs.org/downloads/

Compile and make install it.

./configure && make && sudo make install

Probably, you need install the osxfuse first: http://sourceforge.net/projects/osxfuse/?source=typ_redirect

Then enjoy it

bindfs all_pictures/ /Volumes/Backup/百度云同步盘/all_pictures

Or you want to unbind it

 umount /Volumes/Backup/百度云同步盘/all_pictures
/var/www/dokuwiki/wiki/data/pages/mac-os-x.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1