Purpose

This project is a reference for code snippets and shell commands across programming languages. It contains a way doing things based on previous or expected use-cases which highly relevant for me. It serves as a cache of sorts - I look in my cheatsheets for syntax or approach to a use-case first and then add Google, StackOverflow, documentation, etc. And when I find the answer I add it here so next time my search will be quicker and I’ll find the same answer each time.

This guide is not aimed at teaching fundamentals of a language or explaining things to beginners - it assumes context. It aims to be lean and easy to navigate with a focus on code over explanations for compactness, but sometimes it still explains how or why to use a snippet.

There are plenty of tutorials and cheatsheets out there. This one is unique (for my at least) as it only contains topic and code that I have actually used before or plan to use, so it’s a reference of what I know (or once knew). A cheatsheet made by someone is not personal to me and might have things I don’t need or in a layout I don’t like.

I do link to other cheatsheets in some cases here, but when I have time I like to bring in a few items to my own guide, since external sites will not always be around as pages or domains.

Why use Dev Cheatsheets?

  • You want a short reference (ideally one-page) for a tool or library, because you know the context and just need the syntax and an example.
  • You’re thinking of that that command, argument or function you used before in JS or Python or Jekyll, but you just can’t remember exactly what it does, or how to use it.
  • You want a reference of the most commonly used CLI commands (for NPM or Bash), what they mean and some real world examples.
  • You don’t want to sift through the entire online docs or the manpage which can be long and formal, or tutorials or blog posts which can be verbose paragraphs and tell you mostly what you already know.

Project metadata

Resources

Other cheatsheets

Similar sites to Dev Cheatsheets

My other websites