Skip to content

Instantly share code, notes, and snippets.

View thimslugga's full-sized avatar
:octocat:

Adam Kaminski thimslugga

:octocat:
View GitHub Profile
@thimslugga
thimslugga / PSInfo.md
Created November 4, 2026 13:22 — forked from Computer-Tsu/PSInfo.md
PowerShell Profiles

Comments

# Comment line

<#
comment block
#>

Function Help Comments

@thimslugga
thimslugga / README.md
Created November 2, 2026 13:18 — forked from ahundt/README.md
Fix: DISABLE_TELEMETRY blocks 1M context and /remote-control in Claude Code v2.1.76

Fix: DISABLE_TELEMETRY Blocks 1M Context and /remote-control in Claude Code

Binary patch for Claude Code that fixes the bug where setting DISABLE_TELEMETRY=1 silently disables ALL feature gates — blocking 1M context, /remote-control, and every other gated feature — not just telemetry. Tested on v2.1.76 and v2.1.77, Max 20x, macOS. Works on macOS, Linux, and Windows.

For a simpler workaround that only fixes 1M context (no patching required), see Simple Workaround below.

@thimslugga
thimslugga / openrouter-mcp-gist.md
Created November 2, 2026 13:15 — forked from nickokarakis/openrouter-mcp-gist.md
OpenRouter MCP for Claude Code: Route Subtasks to Free Models

OpenRouter MCP for Claude Code: Route Subtasks to Free Models

Claude Code handles reasoning and judgment natively. The problem is it also burns tokens on tasks that don't need Claude-level intelligence — summarizing 50 files, extracting structured data from logs, converting formats, filling templates. This MCP server adds an openrouter_infer tool that lets Claude selectively call OpenRouter models for those subtasks, without routing all inference through OpenRouter (which would replace Claude entirely). Claude stays in charge; it just delegates grunt work to free models.


Setup

1. Create the server

How to install jdbc_fdw into PostgreSQL 15 on Amazon Linux 2023

These instructions were written and tested on 2024-02-17, using Amazon Linux 2023 AMI 2023.3.20240205.2 arm64 HVM kernel-6.1 (ami-0bbebc09f0a12d4d9) on a t4g.medium (2 vCPU, 4 GiB RAM) instance.

Instructions

Step 1. Install prerequisite packages

@thimslugga
thimslugga / claude-session.sh
Created November 2, 2026 13:12 — forked from dossy/claude-session.sh
List or delete local Claude Code sessions and their related files (workaround for anthropics/claude-code#26904)
#!/usr/bin/env bash
# claude-session.sh — list or delete local Claude Code sessions.
#
# claude-session.sh list [PROJECT_DIR] list sessions (all projects, or one by its cwd)
# claude-session.sh delete [-n] [-y] TARGET delete a session and its related files
#
# TARGET is a full session ID, a unique ID prefix, or an exact session name.
# -n = dry run (show what would be removed), -y = skip the confirmation prompt.
#
# Refuses to delete a session whose Claude Code process is still running: the CLI would just
@thimslugga
thimslugga / README.md
Created October 29, 2026 11:47 — forked from flamerix-ai/README.md
Claude Code burns ~15-20% of your tokens on a 3-word status line: a Bun preload that turns agent_summary off · by Flamerix AI, flamerix.ai · MIT

Claude Code burns ~15–20% of your tokens on a 3-word status line. Here's how to turn it off

by Flamerix AI · MIT License

Tested on Linux, Claude Code 2.1.257–2.1.312 (see Tested versions). The binary is not modified (BUN_OPTIONS=--preload). An update can silently undo it, so see Verify.

TL;DR

curl -fsSL https://gist.githubusercontent.com/flamerix-ai/c3905705cc4205e5de3011fa2e74efce/raw/no-agent-summary.js -o ~/.local/share/no-agent-summary.js
@thimslugga
thimslugga / DEBLOAT.md
Created October 20, 2026 02:23 — forked from lucataco/DEBLOAT.md
webos-debloat: reversible debloat for rooted LG webOS TVs (hide bloat tiles, stop preloading, turn off promos/ACR)

webos-debloat

One shell script that makes a rooted LG webOS TV lighter and quieter:

  • hides bloat tiles and background apps from the launcher
  • stops preloading apps the TV keeps in RAM whether or not you open them
  • turns off home-screen promotions, promo videos, sports alerts, content recommendations and Live Plus (ACR)

Nothing is deleted and the root filesystem is never touched. It only edits

@thimslugga
thimslugga / termless-install.sh
Created October 19, 2026 12:24 — forked from friz-xc/termless-install.sh
Termless installer
#!/usr/bin/env bash
# desc: one-line Termless install for designers: installs Apple's developer tools
# (for git) and GitHub's tool, logs in to GitHub, and puts the latest
# termless.app in Applications.
# usage: /bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/friz-xc/c3423e0f918028fb6f4db5424b0a1297/raw/termless-install.sh)"
# (`make installer-print-cmd` prints the real line.)
# Standalone on purpose: it's published as a public gist because this repo is
# private. The app itself comes from this repo's GitHub Releases, downloaded
# with gh, so the designer's GitHub account needs access to friz-xc/termless.
# Safe to run again: it updates the app in place.
@thimslugga
thimslugga / rules.dropboxignore
Created October 15, 2026 12:24
Dropbox Ignore Rules
# ------------------------------------------------------------
# Dropbox Ignore Rules
# ------------------------------------------------------------
#
# This file lets you tell Dropbox which files and folders
# to keep on your device, but NOT upload to dropbox.com.
#
# How to find this file again:
# 1. Go to your Dropbox root folder and open rules.dropboxignore
# 2. Or open Dropbox app > Preferences > Sync > Ignore Rules > Modify Rules
@thimslugga
thimslugga / claude-code-credentials-guide.md
Last active October 14, 2026 11:07 — forked from Prajwalsrinvas/claude-code-credentials-guide.md
Claude Code Credentials: Read & Write Tokens on Every OS

Claude Code Credentials: Read & Write Tokens on Every OS

Claude Code stores OAuth tokens differently per platform. Here's how to access them manually.

Where Tokens Live

Platform Storage Location
macOS Encrypted Keychain Service: Claude Code-credentials
Linux JSON file ~/.claude/.credentials.json