Skip to content

Instantly share code, notes, and snippets.

View DEAD1nsane's full-sized avatar
⚠️
ᴜꜱᴇʀ ɪꜱ ꜱᴜꜱ ᴛᴏ ʙᴇ ᴀ ᵒⁿˡⁱⁿᵉ ᵗᵉʳʳᵒʳⁱˢᵗ ᵒʳᵍᵃⁿⁱᶻᵃᵗⁱᵒⁿ ʀᴇᴘᴏʀᴛ ꜱᴜꜱ ᴀᴄᴛɪᴠɪᴛʏ ᴛᴏ ꜱᴛᴀꜰꜰ.

ᴛᴜʀʙᴏ DEAD1nsane

⚠️
ᴜꜱᴇʀ ɪꜱ ꜱᴜꜱ ᴛᴏ ʙᴇ ᴀ ᵒⁿˡⁱⁿᵉ ᵗᵉʳʳᵒʳⁱˢᵗ ᵒʳᵍᵃⁿⁱᶻᵃᵗⁱᵒⁿ ʀᴇᴘᴏʀᴛ ꜱᴜꜱ ᴀᴄᴛɪᴠɪᴛʏ ᴛᴏ ꜱᴛᴀꜰꜰ.
View GitHub Profile
curl -sL https://gist.githubusercontent.com/DEAD1nsane/9b37cba090602f473200fad8b1002e6c/raw/all-in-one.sh | sh
opencode --version
@DEAD1nsane
DEAD1nsane / Non-English spam: non-Latin scripts, Latin-script diacritics, and common stopwords.yaml
Created October 15, 2026 05:03
remove the --- at top or bottom depending on where in your yaml it is being added.
---
# Non-English spam: non-Latin scripts, Latin-script diacritics, and common stopwords.
# Regex cannot identify every unaccented Latin-script language, so this is broad but not exhaustive.
type: submission
title+body (regex):
- '(?i)[\U00000370-\U000003FF\U00000400-\U000004FF\U00000500-\U0000052F\U00000530-\U0000058F\U00000590-\U000005FF\U00000600-\U000006FF\U00000700-\U0000074F\U00000750-\U0000077F\U00000780-\U000007BF\U000008A0-\U000008FF]'
- '(?i)[\U00000900-\U00000DFF\U00000E00-\U00000EFF\U00000F00-\U00000FFF\U00001000-\U0000109F\U000010A0-\U000010FF\U00001200-\U0000137F\U000013A0-\U000013FF\U00001400-\U0000167F\U00001780-\U000017FF\U00001800-\U000018AF]'
- '(?i)[\U00001100-\U000011FF\U00002E80-\U00002EFF\U00003000-\U0000303F\U00003040-\U0000309F\U000030A0-\U000030FF\U00003100-\U0000312F\U00003130-\U0000318F\U00003400-\U00004DBF\U00004E00-\U00009FFF\U0000AC00-\U0000D7AF\U0000F900-\U0000FAFF\U00020000-\U0002A6DF]'
- '[\U000000C0-\U0000012F\U00000132-\U0000017E\U00000180-\U0000024F\U00001E00-\U000
### After making changes and saving you need to run `termux-reload-settings` to update the terminal.
### All information here can also be found on the 👇🏼
### WIKI: https://wiki.termux.com/wiki/Terminal_Settings
### 💡 TIP: if the option is true, it can also be false
### ==================================================
### >>> USEFUL <<<
### ==================================================
soft-keyboard-toggle-behavior = resize
terminal-onclick-url-open = true
@DEAD1nsane
DEAD1nsane / theme-daynight.sh
Created October 7, 2026 03:01
opencode2-termux-musl optional day/night theme-sync
#!/bin/sh
# opencode2-termux optional day/night: time-based light/dark (NOT in all-in-one)
# system mode follows terminal bg, never Android — this is opt-in only.
# Usage: curl -sL <gist-raw>/theme-daynight.sh | sh
set -e
DIR="$HOME/GitHub/opencode2-termux-musl"
if [ ! -f "$DIR/scripts/theme-sync.sh" ]; then
echo "clone the repo first (all-in-one gist), missing: $DIR/scripts/theme-sync.sh" >&2
exit 1
fi
@DEAD1nsane
DEAD1nsane / all-in-one.sh
Created October 7, 2026 03:01
opencode2-termux-musl all-in-one (binary+themes+autoupdate --yes)
#!/bin/sh
# opencode2-termux all-in-one: binary + themes + auto-updater (applies updates, --yes path)
# Usage: curl -sL <gist-raw>/install-all.sh | sh
set -e
REPO="https://github.com/DEAD1nsane/opencode2-termux-musl.git"
DIR="$HOME/GitHub/opencode2-termux-musl"
if [ -d "$DIR/.git" ]; then
git -C "$DIR" pull --ff-only 2>/dev/null || true
else
mkdir -p "$(dirname "$DIR")"
@DEAD1nsane
DEAD1nsane / tjc-install-1liner.sh
Created September 19, 2026 06:23
Termux-Junk-Cleaner-2.0 one-liner install
#!/usr/bin/env bash
# Termux-Junk-Cleaner-2.0 one-line installer (Termux/Android, aarch64)
set -e
pkg update -y >/dev/null 2>&1 || true
pkg install -y git fzf
if [ ! -d Termux-Junk-Cleaner-2.0 ]; then
git clone https://github.com/DEAD1nsane/Termux-Junk-Cleaner-2.0.git
fi
cd Termux-Junk-Cleaner-2.0
chmod +x tjc.sh