I personally contribute to open source when possible. It could be refactors and improving tests (example for Angular UI angular-ui/bootstrap#3464 (comment)), small contributions like fixes to the docs (example for React facebook/react#1038) to fixing bugs (example for Foundation foundation/foundation-sites#4332).
Portfolio with side projects: http://imagentleman.github.io/