Cheatsheets are a great way to quickly get an answer to your question.
My personal CHEATSHEET.md
# a quick function to simplify calling cheat.sh
function cheatsheet() {
curl "cheat.sh/$1"
}
# main menu
cheatsheet
# python questions
cheatsheet "python/open a file"
# git rollback
cheatsheet "git/rollback"
Install the iTerm2 shell integrations.
# check if imgcat is not installed
imgcat
Great resources for shell programming