This is the widely available Solar Powered garden lamp's electric circuit.
I had to reverse engineer it to be able to modify it's darkness sensor (those lamps turn on too early).
The circuit is brilliant!!!