Tutorials

Step-by-step technical guides on Docker, Linux, Python, Go, and more.

Page 10 of 36

7 min readIntermediate

PostgreSQL Backup and Restore: pg_dump, pg_basebackup and Point-in-Time Recovery (2026)

Complete PostgreSQL backup and restore guide: pg_dump for logical backups, pg_basebackup for physical backups, WAL archiving, and Point-in-Time Recovery (PITR) in 2026.

4 min readIntermediate

PydanticAI Tutorial 2026: Build Type-Safe AI Agents in Python

PydanticAI tutorial 2026: build type-safe AI agents in Python with FastAPI-style dependency injection. Covers tools, structured results, testing without LLM calls, and local Ollama integration.

7 min readIntermediate

RAG with Python, LangChain and PostgreSQL pgvector as Vector Store (2026)

Build a RAG pipeline with Python, LangChain, and PostgreSQL pgvector. Load documents, create embeddings, store in pgvector, and query with an LLM. Complete working example.

4 min readIntermediate

Build a RAG System from Scratch with Python and pgvector (No LangChain, 2026)

Build a RAG chatbot from scratch using Python and PostgreSQL pgvector — no LangChain needed. Covers chunking, embeddings with Ollama, vector search, and a working chat-with-docs example.

7 min readIntermediate

Structured Output from LLMs with Python: Reliable JSON Using Pydantic and Instructor (2026)

Get reliable JSON from LLMs using Python. Learn to use the instructor library with Pydantic to extract structured data from OpenAI, Claude, and local Ollama models. 2026 guide.

7 min readIntermediate

Whisper AI: Local Speech-to-Text with Python — No API Key Needed (2026)

Transcribe audio locally with OpenAI Whisper and Python — no API key required. Covers faster-whisper, timestamps, batch processing, ffmpeg pipeline, and SRT export. Free 2026 guide.

6 min readBeginner

Python: Check if File or Directory Exists — os.path, pathlib, try/except (2026)

How to check if a file exists in Python using os.path.exists(), pathlib Path.exists(), and try/except. Complete guide with examples for files and directories.

3 min readBeginner

db2stop force: How to Stop a DB2 Instance Safely (2026 Guide)

Learn how to use db2stop and db2stop force to stop a DB2 instance safely. Includes error handling when db2stop force fails.

8 min readIntermediate

Flask REST API Complete Guide 2026 — POST, abort, gunicorn, nginx

Build a Flask REST API in 2026. Covers POST endpoints, request.get_json(), flask.abort() with JSON, gunicorn workers, and nginx reverse proxy. Flask 3.x with examples.

9 min readBeginner

How to Use AI for Contract Review Without Getting Burned in 2026

A practical guide to AI contract review tools in 2026 — what they can and can't do, step-by-step prompts for NDAs and MSAs, and when to call a lawyer.