Monthly Archives: April 2016

How to create locate database under MacOS?

0
Filed under MAC/iOS

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist

How to Hide Files and Folders on Every Operating System

0
Filed under Linux, MAC/iOS

A hidden file or folder is just a normal file or folder with a “hidden” option set. Operating systems hide these files by default, so you can use this trick to hide some files if you share a computer with someone else.

Source: How to Hide Files and Folders on Every Operating System

How to install/configure ispell for emacs under MacOS?

0
Filed under emacs, MAC/iOS
  1. Install brew
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    answer the current user’s password and install is automatically
  2. Install ispell
    brew install ispell --with-lang-en
  3. Configure the .emacs
    (setq ispell-program-name "/usr/local/bin/ispell")
  4. Use M-x ispell to call it

Reference: http://unix.stackexchange.com/questions/38916/how-do-i-configure-emacs-to-use-ispell-on-mac-os-x