How to advance your career by contributing to open source projects

True story: A recruiter quits his job, contributes to open source, gets a job as a software engineer.