sharing code online

hey there forum,
how do you normally share you arduino code when teaching?
is there something similar to and it's classroom feature for arduino?
what i am looking for is basically a place to share and organize code examples easily...

I've only posted code here in the forum.
I've put a file on my website, mostly to support the '1284P core for the chip.

you can make a archive so that they can easily download samples...