sharing code online

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

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.
http://www.crossroadsfencing.com/BobuinoRev17/

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