question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Access to RFCs via cheat.sh

See original GitHub issue

So 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:closed
  • Created 4 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
chubincommented, Jan 11, 2020

@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

0reactions
ErezBinyamincommented, May 3, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found