roScripts is a blog/forum/Digg-for-scripts. Their “articles” section has several categories worth of coding tutorials (PHP, Flash, AJAX, HTML, etc). Then they have the “scripts” section, where you can easily find pre-made scripts to suit your purposes. The interesting part, though, is that they’re sorted in a Digg-like manner. You can vote-up scripts you like, and “bury” the ones you don’t.
roScripts has changed a lot since their launch, and they keep getting better.