Access to RFCs via cheat.sh
See original GitHub issueSo I do a good deal of networking research and I love cheat.sh. I have a tool that I use that I think could be nicely integrated into cheat.sh
RFC_get ()
{
[ $# -lt 1 ] && return 1
isNum='^[0-9]+$'
[[ ${1} =~ $isNum ]] || return 1
curl "https://www.ietf.org/rfc/rfc${1}.txt"
}
Perhaps the usage syntax could be:
curl cheat.sh/RFC/${NUMBER}
And that URL could simply resolve to:
https://www.ietf.org/rfc/rfc${NUMBER}.txt
Issue Analytics
- State:
- Created 4 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
cheat.sh/~go
internal::firstpage _ _ _ __ ___| |__ ___ __ _| |_ ___| |__ \ \ The only cheat sheet you need / __|...
Read more >HTTP/1.1 protocol Cheat Sheet by SandRock
HTTP/1.1 protocol Cheat Sheet by SandRock via cheatography.com/78567/cs/19155/. Request and Response Messages. The HTTP protocol consist into a request.
Read more >Writing I-Ds and RFCs Using Pandoc and a Bit of XML
Writing I-Ds and RFCs Using Pandoc and a Bit of XML (RFC 7328, August 2014) ... A for a "cheat sheet"): o Sections...
Read more >Cross-Site Request Forgery Prevention Cheat Sheet
Inserting the CSRF token in the custom HTTP request header via JavaScript is ... the session cookie and the user will not be...
Read more >Server Side Request Forgery - Application Security Cheat Sheet
You can try using a redirection to the desired URL to bypass the filter. ... Connection: close ... Rare IP address formats, defined...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ErezBinyamin Thank you, Erez. It is a good idea. As the first step we should add RFCs to cheat.sh; even better would be to add some search feature, so that is would be possible to get list of some RFCs by a keyword, or a list of related RFCs
This is amazing. It is better than what I imagined when I opened this issue! I’ve learned a lot from contributing here too, I hope users find the rfc adapter useful! I’d be happy to add any maintenance updates or additional functionality.