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 / 00_SIGMA_JS_IN_EDGEQUAKE.md
Last active February 11, 2026 17:32
Graph Rendering and UI of EdgeQuake Analyzed (Sigma.js , implementation references etc)

Sigma.js in EdgeQuake: Graph Visualization Architecture

Date: February 2026 Repository: EdgeQuake Visualization Library: Sigma.js | GitHub


Executive Summary

@gwpl
gwpl / td_benchmark.sh
Last active February 11, 2026 17:21
Todoist td cli tool simple measurements, comment for improvements welcome (request for better --verbose debugging output : https://github.com/Doist/todoist-cli/issues/40 )
#!/bin/bash
# request for better --verbose debugging output : https://github.com/Doist/todoist-cli/issues/40
set -x
set -x
date; time td today | wc -l
date; time td today --all | wc -l
@gwpl
gwpl / 00_Programmatic_STL_3D_Rendering.md
Last active January 26, 2026 14:33
render_stl.py - Render STL files to multiple PNG projections using f3d (Python/uv)

render_stl.py

Render STL files to multiple PNG projection images using f3d - a fast and minimalist 3D viewer.

See also: Comparison of programmatic STL rendering options for Linux - compares f3d, OpenSCAD, Blender, trimesh, and other tools.

Features

  • Generates 10 standard views: front, back, left, right, top, bottom, and 4 isometric angles
  • Zero setup with uv - dependencies auto-install on first run
@gwpl
gwpl / claude-code-external-imports-explained.md
Created January 25, 2026 09:44
Claude Code: Understanding External CLAUDE.md Imports - Security mechanism explained

Claude Code: Understanding External CLAUDE.md Imports

When launching Claude Code, you may encounter a prompt asking to "Allow external CLAUDE.md file imports?" This document explains the mechanism, security considerations, and when it's safe to approve.

Official Documentation

From Claude Code Memory Docs:

"Claude recursively ascends from cwd to root /, loading all CLAUDE.md/CLAUDE.local.md files encountered"

@gwpl
gwpl / 00_REPO_INFO.md
Last active February 6, 2026 12:19
Claude Code Superpowers Plugin Installation Fix - Workaround for marketplace name collision bug
@gwpl
gwpl / 0-CLAUDE-SANDBOX-RUNTIME-CONFIGURATION-EXPERIMENTS.md
Last active January 4, 2026 13:57
Claude Code sandbox-runtime configuration experiments (Docker support)

Claude Code Sandbox Configuration Experiments

Experimenting with sandbox-runtime configuration for Claude Code on Linux.

Goals

  • Enable sandbox per-project using /sandbox command in Claude Code CLI
  • Allow Docker commands to run unsandboxed (so containers work)
  • Allow sandboxed commands to communicate with Docker via /var/run/docker.sock
@gwpl
gwpl / tailscale_handy_cli.sh
Last active August 25, 2025 12:31
# first ipv4 for tailscale hostname
# first ipv4 for tailscale hostname
function tsipv4() { tailscale ip "$1"|grep -E '^([0-9]{1,3}\.){3}[0-9]{1,3}$' | head -n 1 ; }
# first ip for tailscale hostname
function tsip() { tailscale ip "$1"| head -n 1 ; }
@gwpl
gwpl / BTC_to_ZCHF.ChatGPT.o4-mini-high.2025-07.md
Last active July 7, 2025 19:49
BTC_to_ZCHF.ChatGPT.o4-mini-high.2025-07.md

Source: https://chatgpt.com/share/686befbf-4768-8007-b464-b3a20853b70f

Before diving into the details, here’s a quick overview of what you need to know:

  • Primary chain: ZCHF (Frankencoin) liquidity lives almost entirely on Ethereum, with its top trading pairs on Uniswap V3/V4.
  • Multichain support: Although Frankencoin is bridged to 35 EVM-compatible networks, virtually all volume and holdings are on Ethereum.
  • Wallets: Any ERC-20-compatible wallet will work—MetaMask, Coinbase Wallet, Trust Wallet, Zerion, Zeal (built on Safe contracts), etc.
  • Swapping BTC → ZCHF: The easiest is via Mt Pelerin’s Swap feature (custodial), or non-custodially by wrapping BTC into wBTC and trading on Uniswap (Ethereum). You can also use wBTC as collateral in a 3 % p.a. Lombard loan to borrow CHF.
  • Use case: Convert BTC exposure into a CHF-pegged stablecoin on-chain—ideal for blocking in fiat value while staying in DeFi, and earning yield on ZCHF.
@gwpl
gwpl / claude code doing TOO MUCH.md
Last active July 2, 2025 12:19
Claude Code doing TOO MUCH - What to do?

2025-06-28:

Here is example of claude code doing TOO MUCH, here was just asked to "rebase" , but instead it "rebased and merged"...

> subagent: for PR in 122, 123, 124, 125, 126, 127 { rebase PR on a top of PR-1  (if PR-1 already
  merged then on a top of latest changes in master) }

● Task(Rebase and merge PRs 122-127 sequentially)
@gwpl
gwpl / optimizing github actions.md
Created June 23, 2025 09:36
Optimizing Github Actions Notes

Author: ChatGPT o4-mini-high 2025-06 https://chatgpt.com/share/6859173a-08ac-8007-9d1b-e076bd1bd7e3

Here are several strategies you can combine to avoid running your full suite on every single commit and to scope down Cypress (or any other heavy) tests only when they’re really needed:


1. Use Path-Based Triggers & Job-Level Filters

A. Workflow-level paths / paths-ignore