How to make the dock transparent in Mountain Lion?
To make the dock transparent in Mountain Lion type the following two commands in a terminal:

defaults write com.apple.dock hide-mirror -bool yes

killall Dock