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
All tags » python
1-15 / 29 articles
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
Learn how to create a powerful Vim function that automatically processes selected code through external Python scripts. This tutorial shows you how to implement RunScriptsOnSelect - a versatile Vim function that detects code type from visual selections and applies appropriate transformations...... Read More
Learn how to create dynamic Arabic text images with highlights and automate verse-by-verse display with audio playback. Perfect for enhancing presentations with elegant Arabic typography and seamless audio integration.... Read More