Successful people make their own luck. For example, going to tech conferences is making your own luck, because it's there that tech companies can find you. (In fact, tech companies sponsor conferences often for the express purpose of finding talent.)
Remember "Field of Dreams"? "Build it and they will come?" That's typical hollywood bullshit advice. You've got to proactively market something, i.e. make your own luck.