I’ve had this old post from Marc Andreessen pinned in my mental browser for a long time now. There are four types of luck and you can influence three of them:
Chance I is completely impersonal; you can't influence it.
Chance II favors those who have a persistent curiosity about many things coupled with an energetic willingness to experiment and explore.
Chance III favors those who have a sufficient background of sound knowledge plus special abilities in observing, remembering, recalling, and quickly forming significant new associations.
Chance IV favors those with distinctive, if not eccentric hobbies, personal lifestyles, and motor behaviors.