Get really good in a specific field you care about - for me that was platforms and programming languages but you might really enjoy other stuff.
When I say really good let me emphasize that's not exceptional, I am in no means a great programming language designer or web platform person or developer in general.
Once you get beyond a threshold - you'll find a lot of people who deeply care about the technology and the conversations become a lot more "here's this cool thing". That often unlocks connections and opens the door to work on platforms and interesting startups.
My work history before going to Microsoft was 3 technical startups - before that I worked on automagically generating and auto-healing E2E tests which was a bunch of algorithms and chromium internals on a technical product, before that I worked on a distributed p2p CDN over WebRTC which was also a bunch of algorithms and code, yada yada.
I believe my open source work unlocked these opportunities and not my fancy CS degree.