Give Up Everything You Create
Most developers think that the work they do at work belongs to their employer, but anything they work on at home or on their own time is theirs. This is wrong enough to be dangerous.
For legal reasons, tech companies need to own everything that their employees create, even in their own time.