A nice initiative from O'reilly allows anyone to search for source code samples inside over 700 O'reilly books:http://labs.oreilly.com/code/