Neat idea: the Koders – Source Code Search Engine lets you search for code with keywords, language and license. Reportedly, they’ve got 125 million lines of code you can search. Nifty thing about this is that I’d imagine it’s all automated. People have written neural net code to automatically identify programming languages, and they can just grab the license off the top of the code. To be sure, Google has worked pretty well for me, but this engine is quite targeted and worth a shot when I’m looking for something specific.