3 ms·
I wish blog posts would pin links to commits on repos - and check their links. 404: https://github.com/trailofbits/semgrep-rules/blob/main/hanging-goroutine.ym
by fuzzybear3965 5y ago
I wish blog posts would pin links to commits on repos - and check their links.
404: https://github.com/trailofbits/semgrep-rules/blob/main/hanging-goroutine.yml https://github.com/trailofbits/semgrep-rules/blob/main/hangi... [1]
invalid URL: http://nd%20basic%20cross-function%20analysis/ http://nd%20basic%20cross-function%20analysis/ [2]
[1]: https://github.com/trailofbits/semgrep-rules/blob/385c42a/go/hanging-goroutine.yml https://github.com/trailofbits/semgrep-rules/blob/385c42a/go...
[2]: https://github.com/returntocorp/semgrep/pull/2913 https://github.com/returntocorp/semgrep/pull/2913 from https://github.com/returntocorp/semgrep/issues/2787 https://github.com/returntocorp/semgrep/issues/2787
- JoshMandel 5y agoGH keyboard shortcut: When viewing a file in GitHub, type "y" to update the URL so it explicitly pins to a commit (e.g., turning https://github.com/trailofbits/semgrep-rules/blob/main/hanging-goroutine.yml https://github.com/trailofbits/semgrep-rules/blob/main/hangi... into https://github.com/trailofbits/semgrep-rules/blob/385c42a/go/hanging-goroutine.yml https://github.com/trailofbits/semgrep-rules/blob/385c42a/go...). This has become part of my muscle memory when copying links for posterity, but it makes sense not to be the default, because sometimes you want to share an evergreen link (i.e., always pointing to the latest content) rather than an immutable link.
- trentdotexe 5y agoSorry about that. Should be fixed now.