A simplified version of my previous photoresistor design. Changes were suggested by a friend.
Green and blue parts represent the photoresistor, which has low resistance (~10ohm) when lights are on and high (nearly 150Kohm) when it's dark. Using that to operate a simple N2222 transistor lets you reverse the functionality of the LDR.