Skip to content

Practical Examples

Git Basics: Attach Local Review Notes Without Rewriting a Commit

October 28, 2026

Git Basics: Build an Explicit Local Branch Inventory

October 28, 2026

Git Basics: Check Whether a Branch Contains an Ancestor

October 28, 2026

Git Basics: Count Commits Unique to Each Branch

October 28, 2026

Git Basics: Find Commits That Add or Remove a Specific String

October 28, 2026

Git Basics: List a Committed Snapshot Without Checking It Out

October 28, 2026

Git Basics: Separate Tracked, Untracked, and Ignored Paths

October 28, 2026

Git Basics: Summarize Commit Authors in a Chosen Range

October 28, 2026

Git Basics: Trace a Line to Its Last Changing Commit

October 28, 2026

Git Basics: Transfer a Commit as a Mailbox Patch

October 28, 2026

Python Basics: Bound Diagnostic Representations with reprlib

October 28, 2026

Python Basics: Check XZ Stream Completion and Trailing Bytes

October 28, 2026

Python Basics: Decode Quoted-Printable Bytes Before Text

October 28, 2026

Python Basics: Display Grouped Hex and Incremental CRC Values

October 28, 2026

Python Basics: Distinguish Metadata Equality from File Content Equality

October 28, 2026

Python Basics: Inspect Fixed Byte Ranges with mmap

October 28, 2026

Python Basics: Read Compressed Text and Concatenated bzip2 Streams

October 28, 2026

Python Basics: Retrieve Source Lines and Refresh Cached Text

October 28, 2026

Python Basics: Test Scheduled Event Order with a Virtual Clock

October 28, 2026

Python Basics: Track Line Origins Across Several Files

October 28, 2026

Git Basics: Compare Arbitrary Files with diff --no-index

October 27, 2026

Git Basics: Describe a Commit Relative to a Release Tag

October 27, 2026

Git Basics: Inspect Effective Attributes with check-attr

October 27, 2026

Git Basics: Inspect Stored Objects with cat-file

October 27, 2026

Git Basics: Validate Revisions and Inspect Repository Context

October 27, 2026

JavaScript Basics: Classify Built-In Values with util.types

October 27, 2026

JavaScript Basics: Compare Nested Values with isDeepStrictEqual

October 27, 2026

JavaScript Basics: Inspect Shared File Identity with Hard Links

October 27, 2026

JavaScript Basics: Load CommonJS from an ES Module with createRequire

October 27, 2026

JavaScript Basics: Match Path Strings with path.matchesGlob

October 27, 2026

Linux Basics: Check Portable Path Names with GNU pathchk

October 27, 2026

Linux Basics: Format Output Explicitly with GNU printf

October 27, 2026

Linux Basics: Generate Controlled Numeric Sequences with GNU seq

October 27, 2026

Linux Basics: Sample Lines with GNU shuf

October 27, 2026

Linux Basics: Split Path Strings with basename and dirname

October 27, 2026

Python Basics: Distinguish Incomplete Input with codeop

October 27, 2026

Python Basics: Execute a Trusted Script with runpy

October 27, 2026

Python Basics: Expose a Read-Only Mapping View

October 27, 2026

Python Basics: Parse Compact Option Lists with getopt

October 27, 2026

Python Basics: Persist Small Trusted Objects with shelve

October 27, 2026

Git Basics: Export a Committed Snapshot with git archive

October 27, 2026

Git Basics: Limit Working Files with Sparse Checkout

October 27, 2026

Git Basics: Preview Untracked Cleanup with git clean

October 27, 2026

Git Basics: Search Working Files, the Index, and Commits

October 27, 2026

Git Basics: Transfer Committed History with a Bundle

October 27, 2026

JavaScript Basics: Adapt Error-First Callbacks with promisify

October 27, 2026

JavaScript Basics: Consume Timer Ticks with an Async Iterator

October 27, 2026

JavaScript Basics: Inspect OS Capabilities Without Dumping Host Details

October 27, 2026

JavaScript Basics: Manage Local Listeners with EventTarget

October 27, 2026

JavaScript Basics: Match URL Components with URLPattern

October 27, 2026

Linux Basics: Combine Lines by Position with GNU paste

October 27, 2026

Linux Basics: Copy Files with Explicit Modes Using GNU install

October 27, 2026

Linux Basics: Match Sorted Text Records with GNU join

October 27, 2026

Linux Basics: Reverse Record Order with GNU tac

October 27, 2026

Linux Basics: Wrap Display Lines with GNU fold

October 27, 2026

Python Basics: Discover Local Module Names with pkgutil

October 27, 2026

Python Basics: Inspect Bytecode Instructions with dis

October 27, 2026

Python Basics: Inspect Installation Schemes with sysconfig

October 27, 2026

Python Basics: Precompile Source Trees with compileall

October 27, 2026

Python Basics: Read Distribution Metadata Without Importing Code

October 27, 2026