- Internal Referral (this is the best way)
- Twitter leading to internal referral
- Inbound recruiter leading to interview (only happens if you've already succeeded at 1 or 2 previously).
---
- Have gone to famous school like MIT or Stanford.
There are a lot of ways to get an internal referral, but most involve making friends with someone who already works at a place or knows someone who does. You can do this by making friends on twitter, HN, github projects etc. Moving to an area that has a lot of the industry (SF Bay) if possible helps too, though with remote work is less important now.