Config Formats Command Cheatsheet

6 cheatsheets covering env, dotenv, Environment Variables, config, .env and more

JSON, YAML, TOML and INI are all simple in isolation, but each has its own trap, and one wrong character can cost half an hour of debugging. These 6 sheets cover the syntax and common snippets for all four, plus environment variables (env) and Docker ignore rules (dockerignore). When to use: YAML for CI and Kubernetes config; TOML for Python-ecosystem projects; env for passing values into shell scripts, keeping in mind it has no types and no scope isolation; dockerignore to keep files out of your image. The three most common mistakes: YAML forbids tabs and requires a space after the colon; TOML quotes values in double quotes while INI uses square-bracket sections; JSON has no comments, so any inline explanation has to live in a field name. Glance at the indentation before pasting config you did not write.

Env Vars Cheatsheet - .env Config & dotenv Usage

An .env and dotenv cheat sheet for Node/Python/frontend developers: variable definition, shell and per-language reading, dotenv usage, multi-environment file organization, and security pitfalls such as secret leakage — check every line before you deploy.

2026-08-0224 commands
envdotenvEnvironment Variables

.dockerignore Cheatsheet - Docker Build Context Ignore Rules

For developers shipping with Docker and slimming images: explains .dockerignore glob matching, ignoring files and directories, differences from .gitignore, build-context slimming tips and common pitfalls. A correct ignore file sharply shrinks the context sent to the daemon.

2026-08-0226 commands
.dockerignoredockerBuild Context

YAML Cheatsheet - Syntax, Anchors, Lists & Examples

A YAML syntax reference for developers who write Docker Compose, Kubernetes and GitHub Actions configs, covering basic syntax, data types, lists, dicts, multiline strings, anchors and explicit type tags. Consult section by section while validating indentation and common write errors.

2026-07-2154 commands
yamlConfigurationSyntax

JSON Cheatsheet - Syntax, Data Types & Parsing Examples

A JSON reference for frontend/backend developers who handle API payloads and JSON config, covering data types, objects, arrays, nesting, common API response patterns, and validation/formatting commands. Consult section by section when a key quotation, comma or nested brace causes an error.

2026-07-2128 commands
jsonData FormatsConfiguration

TOML Cheatsheet - TOML Configuration Reference

A TOML reference for developers writing Rust/Cargo, Hugo and Python pyproject.toml config, covering basic types, date-time, strings, arrays and tables, arrays of tables, and a Cargo.toml example. Section-by-section lookup helps avoid type and structure ambiguity.

2026-07-2138 commands
tomlConfig Files

INI Cheatsheet - Sections, Keys & Config File Syntax

An INI reference for developers working with Windows config, PHP php.ini, Git config and Python configparser files, covering basic syntax, data types, common real-world sections and cross-parser pitfalls.

2026-07-2152 commands
iniConfig FilesKey-Value Pairs