Posted on May 17, 2022 by Adrian Wyssmann ‐ 2 min read
I already wrote about some of cool open source tools, which help you to have cheatsheets and manage your kb
cheat.sh is a tool, which unifies access to community driven cheatsheets, including some of the ones I mentioned in my post.
It has some nice features:
There are two ways to use it, either using curl by querying cheat.sh or cht.sh respectively
The query is composed as follows:
curl <URL>/<PROGRAMMING LANGUAGE>/<QUESTION>The <QUESTION> is a list of keywords separated with +. In my example above I want to get some info about loops in bash hence the query is
curl cht.sh/bash/loopsAlternatively you can install the cli client, which then allows you to query for cheats:
Installing the client has some advantages, like Tab completion or a Stealth Mode.
As mentioned in my post, each tool has it’s pro and cons, also when it comes to the content of the cheatsheets. Combining these into a single interface, does not require you to choose but you just use everything there is available.