If you have many tech books, you probably have at least one O’Reilly Book. Now they have a searchable database of code examples. To quote them:
Enter search terms to find relevant sample code from nearly 700 O’Reilly books.
The database currently contains over 123,000 individual examples, composed of 2.6 million lines of code — all edited and ready to use.
I think this is very cool and very nerdy. In addition to all of us adults trying to learn, it has other applications. I think this is a great tool for homeschooling parents who want their kids to learn programming.
(HT: Boing Boing)