I didn't have to actively find such an opportunity yet so I can’t tell you. In my case, I was unhappy at my first employer while I was still studying CS when my friend’s employer urgently searched for programmers. So I went there and told them that I am interested in a position in which I could work part-time even after graduation. I still work there. It was a combination of luck and connections.