Join a company based in the US (like many tech companies), and do a really good job. They will then start trying to get you to move to the US, under an L1/L2 (if you can handle management, L2 tends to be better as your partner/spouse can work).
Immediately apply for a green card.
Preferably be born in a small European country, so the green card comes in your lifetime.
Meh, it's not impossible. You probably need to move to Ireland or the UK though, as that's where most of the larger tech companies have most of their roles.
Immediately apply for a green card.
Preferably be born in a small European country, so the green card comes in your lifetime.