I dunno if it was posted here before .. i haven't seen it ..and is more a shorcut than a trick.. but .. if you press shift and press the white line (separator) in the dock and move it to left and right ..you can chose the position (bottom right or left) of the dock..
Andy