News for hackers. Stuff that matters.
Re:Ask HN: How do I search source code of popular projects o... by madhouse on Wednesday September 16, 2015 @05:11AM (#10225473)
You can limit your search to certain repositories on GitHub, with advanced search: https://github.com/search/advanced

You will need to enter the repositories by hand, though. Mind you, writing a small tool that'd list the most popular/forked/starred/etc C repos, and do a search for you in those should be a few minute task.

Re:Ask HN: How do I search source code of popular projects o... by cweagans on Wednesday September 16, 2015 @11:25AM (#10227284)
Couldn't you just ask for repos with > 5-10 stars instead of maintaining a list of popular C projects?
Re:Ask HN: How do I search source code of popular projects o... by zb3 on Wednesday September 16, 2015 @12:12PM (#10227646)
The whole point was that I cannot specify this criteria when searching for code. This option is for repository search only.

Searching: "typedef struct language:C stars:>100" doesn't do the job.

Re:Ask HN: How do I search source code of popular projects o... by i336_ on Thursday September 17, 2015 @02:21AM (#10231849)
I would consider this both an unimplemented-feature use-case argument, and a bug, because while 'language:C' works in both Repository and Code search mode, 'stars:>100' only works in Repository mode, yet the 'Cheat sheet' link at the bottom doesn't reflect this fact. Either the documentation needs to match the functionality, or ideally, the functionality needs to match the documentation (and intuition). :P

https://github.com/contact

FYI, this form works, you do actually get feedback :)