# use a lighter text rendering style
defaults write -g AppleFontSmoothing -int 1

# disable smooth scrolling
defaults write -g NSScrollAnimationEnabled -bool false

# remove the animations for opening and closing windows
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false

# remove the animations for opening and closing Quick Look windows
defaults write -g QLPanelAnimationDuration -float 0

# don't use iCloud as the default location in save dialogs
defaults write -g NSDocumentSaveNewDocumentsToCloud -bool false

# don't show an iCloud window when opening TextEdit or Preview if syncing documents and data is enabled
defaults write -g NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false

# expand save and print dialogs by default
defaults write -g NSNavPanelExpandedStateForSaveMode -bool true
defaults write -g PMPrintingExpandedStateForPrint -bool true

# disable automatic spell checking
# this makes the Check Spelling While Typing menu item have no effect, but you can still check spelling manually with command-: and command-;
defaults write -g NSAllowContinuousSpellChecking -bool false

# don't blink the caret
# NSTextInsertionPointBlinkPeriodOff and NSTextInsertionPointBlinkPeriodOn were added in 10.9
# use `defaults write -g NSTextInsertionPointBlinkPeriod -int 999999999999` in 10.8 and earlier
# changing NSTextInsertionPointBlinkPeriod has no effect in 10.9
defaults write -g NSTextInsertionPointBlinkPeriodOff -float 0
defaults write -g NSTextInsertionPointBlinkPeriodOn -float 999999999999

# don't treat period or colon as part of words
# en_US_POSIX corresponds to the "United States (Computer)" setting that was shown in System Preferences in 10.8 and earlier
defaults write -g AppleTextBreakLocale en_US_POSIX

# display ASCII control characters in caret notation
defaults write -g NSTextShowsControlCharacters -bool true

# add a context menu item for showing the web inspector to web views
defaults write -g WebKitDeveloperExtras -bool true

# make the speed when scrolling by dragging faster
# the speed is not proportional to the tracking or scrolling speeds both of which are pretty slow by default
defaults write -g NSAutoscrollResponseMultiplier -float 3

# don't show crash report dialogs
defaults write DialogType none

# don't show a warning when opening files downloaded from the Internet
# this does not disable the warnings shown when opening an application for the first time
defaults write LSQuarantine -bool false

# don't verify disk images and don't run fsck on quarantined disk images
defaults write skip-verify -bool true
defaults write auto-fsck -bool true

# don't save .DS_Store files on network volumes
defaults write DSDontWriteNetworkStores -bool true

# disable Dashboard
defaults write mcx-disabled -bool true

# hide the sidebar by default in Finder
defaults write ShowSidebar -bool false

# don't open a Finder window after extracting an archive
defaults write dearchive-reveal-after -bool false

# don't open a Finder window after mounting a volume
defaults write OpenWindowForNewRemovableDisk -bool false

# make Safari's find banners default to Contains instead of Starts With
defaults write FindOnPageMatchesWordStartsOnly -bool false

# change the default fonts in Safari
defaults write Georgia
defaults write 16
defaults write Menlo
defaults write 14

# keep state in Safari even if "Close windows when quitting an application" is checked from System Preferences
defaults write NSQuitAlwaysKeepsWindows -bool true

# hide the sides of the drawers in full screen
defaults write net.sourceforge.skim-app.skim SKHideClosedFullScreenSidePanels -bool true

Finding keys for preferences

mdfind kMDItemContentType=public.unix-executable -onlyin /System|xargs strings 2>/dev/null|grep -E '^[a-zA-Z0-9.-]{10,80}$'|awk '!a[$0]++'|grep -i scroll
strings /Applications/|grep -E '^[[:alnum:]_.-]{10,80}$'|awk '!a[$0]++'
for f in /Applications/*.app/Contents/MacOS/*;do strings "$f" 2>/dev/null|awk '!a[$0]++'|grep -i spellchecking|sed "s/^/${f##*/} /g";done
strings /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit|grep -E '^[[:alnum:]_.:-]{10,80}$'|awk '!a[$0]++'|grep '^[A-Z]'
grep PreferenceKey -r ~/Desktop/WebKit-SVN-source/

Finding keys for preferences with gdb

Save a file like this as /tmp/gdb:

set logging redirect
set logging file /tmp/gdboutput
set logging on
break CFPreferencesCopyAppValue
commands 1
if $rdi
if $rsi
print-object [$rdi stringByAppendingFormat:@";%@",$rsi]
print-object [$rdi stringByAppendingString:@";--noDomain--"]
break CFPreferencesCopyValue
commands 2
if $rdi
if $rsi
print-object [$rdi stringByAppendingFormat:@";%@",$rsi]
print-object [$rdi stringByAppendingString:@";--noDomain--"]
break CFPreferencesCopyMultiple
commands 3
if $rdi
if $rsi
print-object [[$rdi description] stringByAppendingFormat:@";;%@",$rsi]
print-object [[$rdi description] stringByAppendingString:@";;--noDomain--"]

Then quit iTunes, run gdb -x /tmp/gdb /Applications/, open iTunes, do something in iTunes for a while, terminate gdb by pressing C-d twice, and look at /tmp/gdboutput.