Skip to content

Instantly share code, notes, and snippets.

View gwpl's full-sized avatar

Grzegorz Wierzowiecki gwpl

  • Europe - usually: Zürich, Warsaw or Berlin
View GitHub Profile
@gwpl
gwpl / sparql-toolchain-patterns.md
Last active March 9, 2026 18:59
Git-First Graph Databases: practical patterns for building graph data systems that start as text files and scale to production stores — with principles on data architecture vs. implementation architecture, sharding, and avoiding premature optimization
title status license
SPARQL Toolchain Patterns — Git-First Graph Databases
active
CC-BY-4.0

SPARQL Toolchain Patterns

**A practical guide to building graph databases that start as text files and scale to production stores — without losing clarity, auditability, or the

@gwpl
gwpl / 00_AnkiConnect-Setup-and-Integration-Guide-for-Agents-and-Programmers.md
Last active March 8, 2026 22:14
AnkiConnect: Setup & Integration Guide for Agents and Programmers — install, API basics, card CRUD, deduplication rules (with official docs references), TSV failover import, stats/scheduling queries

AnkiConnect: Setup & Integration Guide for Agents and Programmers

Practical guide to programmatically managing Anki flashcards via the AnkiConnect addon HTTP API.

Covers: installation, verification, card CRUD operations, statistics queries, deduplication behavior (with official documentation references), and batch workflows.

Contents

File Topic
@gwpl
gwpl / 00_Extending Cognitive Horizon Concept_Index.md
Last active March 6, 2026 16:58
Extending Cognitive Horizon Concept
@gwpl
gwpl / decfra-sixel-research.md
Created March 5, 2026 22:45
DECFRA/DECERA and Sixel Graphics Interaction: Research Notes — VT420 spec, real VT340 hardware testing, xterm extensions

DECFRA / DECERA and Sixel Graphics Interaction: Research Notes

TL;DR

Whether DECFRA/DECERA clear sixel pixel data is terminal-dependent, not standardised. The VT420 spec defines DECFRA as a text-plane operation only. On real VT340 hardware, DECERA did not affect sixel graphics. xterm added sixel-clearing to DECFRA/DECERA in patch #370 (2021), but this is an xterm extension adopted by some modern terminals.

VT420/VT510 Specification

@gwpl
gwpl / bb_HOW_SSH_HOST_ALIASES_WORK.md
Last active March 5, 2026 20:06
GitHub CLI (gh) Multi-Account Usage: Parallel-Safe & Secure (GH_CONFIG_DIR approach)

Understanding SSH Host Aliases ("Pseudo-Domains") for Git Multi-Account

The Core Concept

When you see github.com-work in an SSH config or git remote URL, that is NOT a real domain name. It's an SSH host alias (sometimes called a "pseudo-domain") — a label that only exists in your ~/.ssh/config file. It never hits DNS.

# This is an ALIAS — "github.com-work" is a made-up name
Host github.com-work
 HostName github.com # ← the REAL server to connect to
@gwpl
gwpl / lets-brainstorm.md
Created March 4, 2026 22:55
.claude/commands /lets-brainstorm.md
name description argument-hint
lets-brainstorm
Iterative brainstorming interview -- ask creative questions, multi-select to remix, converge to decisions.
<topic or goal to brainstorm about>

Brainstorming Session

Launch an iterative brainstorming interview about the given topic.

@gwpl
gwpl / Claude-Code--Orchestration-Agents-Skills-Hooks--reference.md
Last active March 6, 2026 21:33
IndyDevDan: 4-Layer Claude Code Architecture — Skills → Agents → Commands → Reusability (Playwright Browser Automation & UI Testing) | Channel: https://www.youtube.com/@indydevdan
@gwpl
gwpl / check-github-license-detection.sh
Created March 2, 2026 19:34
GitHub License Detection NOASSERTION — Diagnosis Guide & Script
#!/usr/bin/env bash
# check-github-license-detection.sh
#
# Diagnose GitHub license detection issues for a repository.
# Checks the API response, inspects license files, and suggests fixes.
#
# Usage:
# ./check-github-license-detection.sh OWNER/REPO
# ./check-github-license-detection.sh # (auto-detect from current git repo)
#
@gwpl
gwpl / gist-anthropic-oss-copyright.md
Created March 2, 2026 10:16
Anthropic Claude: Code Ownership & Open Source Licensing Compatibility (reusable reference)
@gwpl
gwpl / Makefile
Last active February 26, 2026 20:11
CadQuery Lego Brick Models — Parametric 3D generators with STL, SVG & PNG export. Includes: 6x2 thin brick, vase-on-2x2-brick. Run with: uv run --with=cadquery <script>.py or use make
# CadQuery Lego Brick Models — Build all exports
#
# Prerequisites:
# - uv (https://docs.astral.sh/uv/)
# - For PNG conversion (optional): rsvg-convert, inkscape, or imagemagick
#
# Usage:
# make # build all models (STL + SVG + PNG)
# make brick # build only the 6x2 lego brick
# make vase # build only the vase-on-brick model