Wow. This is incredibly helpful. You can use it to see how someone may have used a function with named parameters: my_function(label=x, option_1=2) my_function.*option_1 # search
Show HN: Search code in GitHub repos using regular expressions
91–100 of 165 posts
Re: Show HN: Search code in GitHub repos using regular expressions
#92While there were some tools for this, they fail sort for older projects where using a library meant copy/paste it into your project, which is not reported in the CDN stats, npm installs or github "uses".
Now I can run a search with a bit of code that is only present in my library and find reliably those who copy/pasted it. While I publish my code under the MIT, this would also be very useful for those publishing under the GPL to detect bad actors.
Re: Show HN: Search code in GitHub repos using regular expressions
#93Re: Show HN: Search code in GitHub repos using regular expressions
#94Re: Show HN: Search code in GitHub repos using regular expressions
#95Feels like magic to me! Lets me easily see who's working on similar topics. Thanks!
Re: Show HN: Search code in GitHub repos using regular expressions
#96Re: Show HN: Search code in GitHub repos using regular expressions
#97Earlier quoted context omitted.
Actually, It would more be like: "How I failed at 3 interviews, despite being directly contacted by execs."
Sure you built app on multi 20 core machines with functionality to search hundreds of millions of lines of code almost instantaneously, but are you someone I'd drink a beer with?
Re: Show HN: Search code in GitHub repos using regular expressions
#98This is really cool. What are you using it for? Usage examples, debugging, etc.? I'm the CEO at Sourcegraph (universal code search for companies to use on their internal code). Our product is really optimized for searching a company's internal code right now, but soon we'll start working on offering much better search for public and open-source code as well. If you'd like to help out or just chat, please reach out! s…
Re: Show HN: Search code in GitHub repos using regular expressions
#99This is really cool! Awesome work. I assume you've seen https://sourcegraph.com/ as well? This to me seems much clearer and a bit more intuitive (though I've only spent a little time in sourcegraph). Really really cool. Does it also search code comments?
Re: Show HN: Search code in GitHub repos using regular expressions
#100It’s interesting how it took so many years for such an obviously useful tool to emerge. I guess hosting this is finally getting cheap enough.