Skip to content

Instantly share code, notes, and snippets.

View aaronhoogstraten's full-sized avatar

Aaron Hoogstraten aaronhoogstraten

View GitHub Profile
#!/usr/bin/env bash
set -euo pipefail
# patch-claude-code.sh — Rebalance Claude Code prompts to fix corner-cutting behavior
#
# What this does:
# Patches the npm-installed @anthropic-ai/claude-code cli.js to rebalance
# system prompt instructions that cause the model to cut corners, simplify
# excessively, and defer complicated work.
#
@bearlikelion
bearlikelion / remove-script.patch
Last active May 31, 2026 22:24
Ignore godot's --script command line argument
diff --git a/main/main.cpp b/main/main.cpp
index 1c7955f089..8a37d67eb7 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -3700,7 +3700,8 @@ int Main::start() {
else if (E->next()) {
bool parsed_pair = true;
if (E->get() == "-s" || E->get() == "--script") {
- script = E->next()->get();
+ script = "";
@sharunkumar
sharunkumar / adb-dns.bat
Created February 7, 2020 07:08
Enabling / Disabling private DNS in android via ADB
rem to disable private dns
adb shell settings put global private_dns_mode off
rem to enable private dns with hostname (example with dns.adguard.com)
adb shell settings put global private_dns_mode hostname
adb shell settings put global private_dns_specifier dns.adguard.com
@staltz
staltz / introrx.md
Last active June 7, 2026 11:12
The introduction to Reactive Programming you've been missing