(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| #!/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. | |
| # |
| 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 = ""; |
| 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 |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.