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 & dotenv Cheatsheet - Load Order & Multi-Env

How dotenv works: .env load order, override rules, multi-env files, fixes for "variable not found" and security traps.

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 - Tables, Arrays & Cargo.toml

TOML reference for Rust/Cargo, Hugo and Python pyproject.toml: basic types, date-time, strings, arrays, tables, arrays of tables, Cargo.toml example.

2026-07-2138 commands
tomlConfig Files

INI Cheatsheet - Sections, Keys & Parser Quirks

INI config syntax: write sections like [section] and key = value pairs, comment with ; or #, and watch parser quirks such as BOM and duplicate keys.

2026-07-2152 commands
iniConfig FilesKey-Value Pairs