How many projects are only a couple of hours in length? I started down this road, and ended up with a list of "learning experiences"; nothing that I'd inflict upon anyone else.
I guess I'd add "... but don't release it". If it's just to build up a portfolio, you can usually make the source code available and maybe a demo.
I do like the idea of "programmer portfolios", however.