So, as a Coder, I'll take my knowledge from my job and apply it to my hobby, and take experience from my hobby and apply it to my job. On occasion, this can lead to very similar code appearing in hobby projects and in work solutions. I'm not copying market-level logic (I work for a tax software distributor, and am coding a music sorting library), we're talking low level code, stuff like sorting algorithms and database connectors.
I've occasionally come across issues where I use the same design pattern in my work environment that I've used in my hobby coding. I'd like to throw it up on github, but at the same time, it may have already made it into my companies repo.
Knowing that, how can I keep my profession and my hobby seperate? How can I show off my hobby work while still providing solutions for my employer?