Skip to content

2023

Computer Science

GNULinux

Basics

  • New: Generate a random string.

    Generate a random string to use for secrets or passwords:

    head /dev/urandom | tr -dc A-Za-z0-9 | head -c10
    

Git

  • New: Add patch realted commands.

    To create a patch of the current unstaged changes:

    git diff > patch.diff
    

    To apply a patch:

    git apply patch.diff
    

    Or if you have it in your clipboard, just run git apply and paste it.

sqlite

  • New: Add basic commands.

    • .help - show help
    • .quit - quit
    • .tables - show tables
    • .schema - show schema of table

Programming

FastAPI

  • New: How to dynamically get endpoint URLs for testing.

Coffee

Tools

  • New: Coffee tools.
  • Correction: Typo in filename.
  • Correction: Video embedding.