Start contributing to open-source projects on GitHub
Start sharing your knowledge on Quora, Medium , Stack Overflow or Youtube
Attend offline/online hackathons
Work on some projects of your own
Build some usefull things for your local people or friend organizations
Attend on Topcoder or Hacer One
How to build programming portfolio?