GitHub adds code search
github.com
github.com
http://github.com/codesearch?q=%22%3E%3Cscript%3Ealert(%22Oops%22)%3C%2Fscript%3E%3Cspan%20%22&repo=&langOverride=&language=&x=0&y=0
Do you test any of this?
My only minor complaint is that the search results page is sometimes displaying the wrong highlighted excerpts of matched files. For example, using the above search, I see highlighted text for things like the "(c)" in a copyright notice, or an emacs "Mode: C" hint. Because it's only displaying the first highlighted region per-file, it's hard to use the results page to see which hit I want to drill down into.
Or, perhaps a hit like "class Game" should be considered more relevant than "attr_reader :game". Perhaps.
Overall, very nice though.
That would make it quite a bit easier to find a specific algorithm or code snippet.
Edit: changed from "What are the..." to "Are there"
I don't recall being asked to read such rules when I signed up for HN. But I'm happy to learn them if they exist.