This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -sL https://gist.githubusercontent.com/DEAD1nsane/9b37cba090602f473200fad8b1002e6c/raw/all-in-one.sh | sh | |
| opencode --version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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")" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |