Skip to content

Instantly share code, notes, and snippets.

@zmxv
zmxv / ccba.py
Created April 1, 2026 05:13
Claude Code buddy animation
#!/usr/bin/env python3
"""Generate an animated GIF of all companion sprite animations."""
from PIL import Image, ImageDraw, ImageFont
# --- Sprite data ---
SPECIES = [
'duck', 'goose', 'blob', 'cat', 'dragon', 'octopus', 'owl', 'penguin',
'turtle', 'snail', 'ghost', 'axolotl', 'capybara', 'cactus', 'robot',
@jscott3201
jscott3201 / custom_pub_chat_template_gemma4.jinja
Created May 23, 2026 03:01
A drop-in replacement chat template for google/gemma-4-31B-it tuned for open-source agentic coding harnesses.
{#---------------------------------------------------------------------
custom_pub_chat_template_gemma4.jinja
=====================================
A public, harness-friendly fork of Google's Gemma 4 chat template,
tuned for open-source agentic coding harnesses like:
- anomalyco/opencode (https://github.com/anomalyco/opencode)
- earendil-works/pi (https://github.com/earendil-works/pi)
- openclaw, OpenHarness, similar Claude-Code-style harnesses
WHY THIS FORK EXISTS
@mks-d
mks-d / bahrain_ah.csv
Last active June 4, 2026 21:09
Bahrain address hierarchy: 'Governorate', 'Place', 'Block'
Southern Aáli 746
Southern Aáli 748
Southern Al Door 965
Southern Algainah 961
Southern Al Hajyat 929
Southern Al Hajyat 931
Southern Al Hajyat 935
Southern Al Hajyat 939
Southern Al Hunaniya 901
Southern Al Hunaniya 903
@amirrajan
amirrajan / 00_demo.md
Created April 1, 2023 05:04
DragonRuby Game Toolkit - Fifteen Puzzle
fifteen-puzzle.mp4
@zerofltexx
zerofltexx / cachyos-limine-luks-tpm-auto-unlock.md
Created November 19, 2025 13:53
Limine + LUKS2 + TPM2 Auto-Unlock Guide (CachyOS/Arch Linux)

Limine + LUKS2 + TPM2 Auto-Unlock Guide (CachyOS/Arch Linux)

Working configuration for:

  • Limine bootloader
  • LUKS2 encrypted root partition
  • btrfs with Snapper snapshots
  • dracut (required for btrfs snapshot boot)
  • systemd-based initramfs
  • Secure Boot enabled
  • TPM2 auto-unlock using PCR 0+7
@joerodgers
joerodgers / Update-LastLogonTimestamp.ps1
Last active June 4, 2026 21:06
Trick to force an update to the LastLogon Timestamp for an Active Directory account. This is sometimes necessary for the portal cache accounts if a companies AD team disables accounts based on the LastLogon timestamp of a user.
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
function Update-LastLogonTimestamp
{
[CmdletBinding()]
param
(
[parameter(Position=0, Mandatory=$true)][string]$UserName
)
@ScribbleGhost
ScribbleGhost / BlockMultipleProgramsInWindowsFirewall.ps1
Last active June 4, 2026 21:02
Block multiple programs in Windows firewall by adding inbound and outbound rules. ⚠ Run as admin in Powershell. Read the description thoroughly ❗
#
# .SYNOPSIS
# This script blocks multiple programs by adding them to the Windows Firewall both as inbound and outbound rules.
# It also checks if a rule is already made. If it exists it will remove it and replace it with the new.
# .NOTES
# 1. List of the programs you want to block in Windows Firewall in $programs.
# 2. Remember quotation marks and a comma at the last program in the list.
# 3. You can change the rule names by changing ruleNameInbound and ruleNameOutbound.
@shrey150
shrey150 / compare-sec-filings.ts
Created June 4, 2026 19:38
Browserbase x Anthropic Opus 4.8 Webinar
// Stagehand + Browserbase: an AI agent that researches SEC filings on its own.
//
// We give Stagehand a plain-English task, point it at SEC EDGAR, and let its
// `agent` autonomously navigate, read 10-Q filings, and build a comparison
// table — no selectors, no scraping code, no per-site logic.
import "dotenv/config";
import { exec } from "node:child_process";
import { Stagehand } from "@browserbasehq/stagehand";