Refresh LaunchPad

rm ~/Library/Application\ Support/Dock/*.db ; killall Dock

Mavericks Enable/Disable Apache HTTP server

sudo -s launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
sudo -s launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist

Mavericks Enable/Disable FTP server

sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist