I do iOS development work, and I can't stand how iTunes and iPhoto automatically open when I plug in a device.

I don't want anything to ever open automatically when I plug something in.

How do I make it so?