Skip to content

Instantly share code, notes, and snippets.

View marceldarvas's full-sized avatar

Marcel Darvas marceldarvas

View GitHub Profile
@marceldarvas
marceldarvas / backblaze-bzserv-memory-leak.md
Created April 22, 2026 22:56
Backblaze bzserv memory leak on macOS — diagnosis, remediation, and a daily launchd workaround

Backblaze bzserv Memory Leak — Runbook (macOS)

A workaround and diagnosis guide for a memory leak in Backblaze Personal Backup's bzserv process that quietly fills macOS swap until the system runs out of application memory.

Symptoms

  • Activity Monitor shows Backblaze using tens of GB of memory.
  • sysctl vm.swapusage reports swap climbing into the 20–60 GB range over a few
@marceldarvas
marceldarvas / claude-code-version-pin.sh
Last active April 20, 2026 14:34
Pin Claude Code to a specific npm version (bypassing Homebrew) or restore to Homebrew-managed latest
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Claude Code Version Pin
# @raycast.mode fullOutput
# @raycast.argument1 { "type": "dropdown", "placeholder": "Action", "data": [{"title": "Pin", "value": "pin"}, {"title": "Restore", "value": "restore"}] }
# Optional parameters:
# @raycast.icon 🔧

Keybase proof

I hereby claim:

  • I am marceldarvas on github.
  • I am marceldarvas (https://keybase.io/marceldarvas) on keybase.
  • I have a public key whose fingerprint is 7D3E 3F75 19E4 DB57 9305 CA56 7639 C532 E3B6 54E2

To claim this, I am signing this object: