User Tools

Site Tools



Eclipse shortcut

SQLite frontend Manager


Use cmd + shift + f for complete Xcode search.

Enable/Disable spotlight service

cd /System/Library/LaunchDaemons
sudo launchctl load -w
launchctl unload -w
mdutil -a -i on /


Lock the screen



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

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(

So first download the source code from here:

Compile and make install it.

./configure && make && sudo make install

Probably, you need install the osxfuse first:

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 (external edit)