Build a persistent Conky desktop clock that displays the time remaining in a classroom session, using a small Python script for the time calculation. The article also shows how to launch it quietly and combine it with shell aliases for a repeatable teaching workflow.... Read More
All tags » python
1-15 / 31 articles
A complete self-hosted analytics pipeline for a Pelican static site: a PHP tracker with bot detection, a SQLite view that hides pollution, a retroactive backfill tool, and a deterministic two-feed sync that keeps counts in markdown frontmatter. No third-party provider, no client-side telemetry,...... Read More
An in-depth walkthrough of a Python curses-based application for manually marking Quranic verse boundaries in MP3 files, persisting marker state, and exporting split files. The article covers architecture, UI decisions, undo/redo, guided marking, and export pipelines, with an honest evaluation...... Read More
A deep‑dive into building a reproducible, animated Matrix‑style digital rain effect in pure SVG. Covers the architecture, implementation, configuration, and integration with a modular banner generator for Pelican static sites.... Read More
A deep dive into a Python tool that combines, purges, minifies, and redeploys CSS bundles for Pelican themes using a recipe-based pipeline. Learn how it records every build step, automatically replays the entire chain, and drops the result into the output folder – no full site rebuild required.... Read More
A production-grade walkthrough for generating PDFs from Jinja2 templates using WeasyPrint. This article covers template design, CSS print styling, page layout control, and integration into automated document pipelines — replacing deprecated wkhtmltopdf workflows with a modern, reproducible...... Read More
This article explores projcat, a Python CLI tool that generates structured project manifests—directory trees and sliced file contents—optimized for feeding into LLMs. It covers architecture, advanced slicing features, and integration into developer workflows, emphasizing deterministic,...... Read More
This article explores the filetype‑specific layer of a Neovim configuration. It dissects each ftplugin file, the shared html_markdown_maps module, and the design pattern that eliminates duplication while keeping every filetype feel native.... Read More
Learn how to extend the RunScriptFilter pattern to turn plain text into HTML instantly inside Vim. Convert lists into styled
, generate
Learn how to use Python, shell, and external scripts as live text filters in Vim, replacing fragile macros. Transform LaTeX equations, format JSON, process CSV, and automate repetitive code edits – all from a visual selection or the entire buffer. A practical, engineer-tested Vim workflow for...... Read More
A deep dive into designing a banner generation system that treats visual assets as part of the build pipeline – with themes, components, and deterministic output.... Read More
A structured, production-style setup of Pelican focusing on clean architecture, isolated environments, modular configuration, and plugin discipline.... Read More
Most developers treat static sites like simplified dynamic apps. That’s a mistake. In this guide, we explore the mental model shift from runtime thinking to build-time precomputation, turning your Pelican site into a fast, data-driven system.... Read More
A lightweight Conky and Python setup I use daily as a math teacher in Morocco to track remaining class time with precision, including support for Ramadan schedules.... Read More
Learn how to annotate videos programmatically using a powerful Python script built on FFmpeg. This tutorial walks through JSON-based annotations, styling options, command-line usage, and best practices for producing clean, professional annotated videos.... Read More