Or you could go to Home Depot and buy a Lutron Credenza lamp dimmer for $11. Ready to go and plug in

I need to invest in Home Depot stock...