Google added another cool search to their labs: Google Code search. Find code written in almost any language, and under almost any license. Have a look at advanced code search and see the possibilities. If the codebase that is searched is big enough, this might be a good step into getting developers to use Google if they’re looking for a piece of code (when they’re that not doing that already…).