Skip to content

Instantly share code, notes, and snippets.

@barseghyanartur
barseghyanartur / dot_agents.rst
Last active May 8, 2026 22:05
blog: dot-agents: Skills for AI Agents

dot-agents: Skills for AI Agents

Date: 2026-05-08 10:00
category:Tech
tags:python, ai, agents, tooling, open-source
summary:A collection of SKILL.md files that tell AI agents how to manage repos, validate docs, and handle Python projects.

AI agents do what you tell them. dot-agents is a public repository of SKILL.md files — plain-language procedures that agents like Claude Code or

@barseghyanartur
barseghyanartur / pygrunn_2026_talk.rst
Last active May 8, 2026 22:50
blog: PyGrunn 2026 talk
@barseghyanartur
barseghyanartur / managing_homebrew_upgrades_the_selective_lazy_method.rst
Last active May 7, 2026 07:52
blog: Managing Homebrew upgrades: The selective lazy method

Managing Homebrew upgrades: the selective lazy method

Date: 2026-05-07 09:46
category:Tech
tags:macos, homebrew, productivity
summary:Automated upgrade scripts are great until a critical tool breaks. Learn how to pin specific packages and use filtered commands to keep your environment stable without losing your "lazy" workflow.

The problem

Avoid risky Python updates: The 7-day safety buffer

Date: 2026-05-03 22:43
category:Tech
tags:python, security
summary:Recent attacks on LiteLLM and PyTorch Lightning show how dangerous "bleeding edge" updates can be for your security. Use a seven-day time gate to ensure your packages are vetted by the community before they touch your code.

The problem

@barseghyanartur
barseghyanartur / bat_is_cat_with_syntax_highlighting.rst
Last active April 29, 2026 21:18
blog: bat is cat with extras

bat is cat with extras

Date: 2026-04-21 17:00
category:Tech
tags:shell, cat, bat
summary:Use bat for a more readable terminal experience with syntax highlighting and Git integration.

bat is a cat clone with extras. It improves terminal output by adding line numbers, syntax highlighting for various languages, and Git-aware gutter markers to show changes.

@barseghyanartur
barseghyanartur / small_selection_of_photographs_i_took_before_2012.rst
Last active April 14, 2026 21:09
blog: A small selection of photographs I took before 2012
@barseghyanartur
barseghyanartur / my-recent-sketches.rst
Last active May 2, 2026 00:42
blog: My recent sketches
@barseghyanartur
barseghyanartur / pytest_codeblock.rst
Last active April 29, 2026 21:00
blog: pytest-codeblock - A pytest plugin for testing code examples in Markdown and reStructuredText files

pytest-codeblock - A pytest plugin for testing code examples in Markdown and reStructuredText files

Date: 2026-04-12 00:24
category:Tech
tags:python, pytest
summary:Tired of broken code snippets in your documentation? Try pytest-codeblock, a zero-config plugin that supports both Markdown and reStructuredText. It brings the full power of pytest—including fixtures, markers, and native async support—directly into your docs without any boilerplate or manual wiring. Just name your block test_name_of_your_block and stop relying on users to find your documentation bugs.

I wrote a small pytest plugin that tests code blocks in your docs.

@barseghyanartur
barseghyanartur / licence_normaliser.rst
Last active April 4, 2026 00:28
blog: licence-normaliser

licence-normaliser: Taming licence chaos in Python

Date: 2026-04-04 14:00
category:Tech
tags:python, licence
summary:Tired of wrestling with messy license strings like "MIT License" vs. "The MIT License" or cryptic URLs? licence-normaliser is a lightweight Python tool that tames the chaos. It maps inconsistent metadata into a clean, machine-readable hierarchy (Family → License → Version), turning strings like CC BY-NC-ND 4.0 into a tidy cc-by-nc-nd-4.0 automatically. Whether you're scraping repos or managing compliance, it handles SPDX codes, prose, and even complex Creative Commons variants with ease—giving you a single source of truth for your legal metadata.
image:https://raw.githubusercontent.com/barseghyanartur/licence-normaliser/main/docs/_static/licence_normaliser_logo.webp

Hey, ever tried cleaning up messy license strings — like CC BY-NC-ND 4.0 or MIT License — and getting them into

@barseghyanartur
barseghyanartur / safezip.rst
Last active April 3, 2026 20:11
blog: Safezip - zero-dependency wrapper for secure ZIP extraction

Safezip - zero-dependency wrapper for secure ZIP extraction

Date: 2026-02-25 13:00
category:Tech
tags:python, zip, security
summary:Safezip is a zero-dependency Python wrapper for zipfile that makes secure extraction the default. It provides essential protections against ZipSlip, ZIP bombs, and inconsistent ZIP64 headers—security features missing from the standard library. With support for atomic writes and environment-based configuration, it is an ideal drop-in solution for safely handling untrusted user uploads in production.
image:https://raw.githubusercontent.com/barseghyanartur/safezip/main/docs/_static/safezip_logo.webp

https://raw.githubusercontent.com/barseghyanartur/safezip/main/docs/_static/safezip_logo.webp