This question already has an answer here:
I've been working as a programmer for around 12 years. I've worked for 4 different companies (including where I am now) all of which have a good reputation.
I have a LinkedIn account but due to the nature of my work I have never published any kind of "portfolio" online, and although I have a GitHub account all of my repositories are private. I do not have a Twitter account.
In the past my reasons for doing this have largely been based on my assumptions about contracts I've held with each company I've worked for. These have stated, in short:
Any work I produce whilst working for a company is their (intellectual) property, and I can't "take" it elsewhere, resell it, etc.
Some clients of these companies wish their work to be "private", i.e. things like NDA's have been signed which bars me from publishing any code I've written on these projects.
Although not part of my contract I have been advised by the managing directors of companies that there is a "conflict of interest" in me detailing work I'm doing publicly as it might give competitor companies an advantage.
Because of this I don't feel like I have any kind of online presence as a developer aside from my LinkedIn.
Many of my friends have their own GitHub accounts where they do programming in their spare time, or contribute to open source projects. Personally I don't have time for this as I have a lengthy commute (90 km/day round trip) which doesn't afford me the time to work on "personal projects" amongst doing everything else I need to in life.
I feel as though I'm at a disadvantage because I'm unable to showcase what I've done during my working career. I'm looking for advice from people who have been in a similar situation, or what they might do if they were in mine? Ideally from programmers but open to any suggestions.
I'm based in the United Kingdom, if that's relevant. It seems to me that culturally people in other countries (especially USA) do a lot more work on personal projects outside of work and showcase their talents this way. Whilst I'm aware this goes on in the UK as well, it seems less common.