.DS_Store
This will affect the your interactions with SMB/CIFS, AFP, NFS, and WebDAV servers:
- Open the Terminal.
- Enter:
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
- Press Return.
- Restart the computer.
Tweak Safari
Don't have Safari display PDF documents, rather have them downloaded instead:
- Open the Terminal.
- Enter:
defaults write com.apple.Safari WebKitOmitPDFSupport -bool YES
- Press Return.
- Open the QuickTime preference pane in System Preferences.
- Click the Advanced tab, and then MIME Settings...
- Under the Images list, make sure PDF Image is not checked.
Logitech V270 Bluetooth Mouse Scaling
- Open the Terminal.
- Enter:
defaults write -g com.apple.mouse.scaling 0.03
- Press Return.
Optimize Apple Mail
- Quit Mail and open Terminal.
- Enter:
cd ~/Library/Mail
- Press Return.
- Enter:
sqlite3 Envelope\ Index
- Press Return, a sqlite> prompt will appear.
- Enter:
vacuum subjects;
- Press Return.
- Press
control D after the prompt appears.
- Restart Mail.
Flush DNS cache
- OSX 10.4:
sudo lookupd -flushcache
- OSX 10.5:
dscacheutil -flushcache
Get rid of goofy dock style in Leopard
defaults write com.apple.dock no-glass -boolean YES
killall Dock
remove all .DS_Store files from your_dir
find your_dir -type f -name .DS_Store -print0 | xargs -0 rm
show network traffic in terminal
sudo tcpdump -i en0 port 80