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 python3 | |
| """Tailscale status and explicit menu actions for the desktop bar.""" | |
| import html | |
| import json | |
| from pathlib import Path | |
| import subprocess | |
| import sys | |
| def run(*args): |
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 | |
| set -eo pipefail | |
| download_dir="." | |
| while getopts ":d:v" opt; do | |
| case ${opt} in | |
| d) | |
| download_dir=$OPTARG |
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 | |
| set -u -o pipefail | |
| LIMIT="${LIMIT:-100}" | |
| AFFILIATION="${AFFILIATION:-owner,collaborator,organization_member}" | |
| ACTIONSTAT_CACHE_DIR="${ACTIONSTAT_CACHE_DIR:-${XDG_CACHE_HOME:-${HOME:-.}/.cache}/actionstat}" | |
| ACTIONSTAT_JOBS="${ACTIONSTAT_JOBS:-4}" | |
| ACTIONSTAT_RETRIES="${ACTIONSTAT_RETRIES:-4}" | |
| ACTIONSTAT_RETRY_DELAY_SECONDS="${ACTIONSTAT_RETRY_DELAY_SECONDS:-2}" | |
| ACTIONSTAT_RATE_LIMIT_COOLOFF_SECONDS="${ACTIONSTAT_RATE_LIMIT_COOLOFF_SECONDS:-60}" |
This guide is for a Linux user who wants the best headphone spatial audio they can get, but has never configured PipeWire for this kind of DSP work.
The goal is to explain the moving parts first, then show which example config does what, and finally give you concrete download sources for the data files those configs expect.
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 | |
| set -euo pipefail | |
| usage() { | |
| cat <<'EOF' | |
| Usage: | |
| alphabet-emoji [-w|-y|-m|-a] "text to spell" | |
| Options: | |
| -w white (default) |
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
| # Default OMZ theme for Archcraft | |
| NUM_DIR=2 | |
| DIR_PATH="%F{8}%K{8} %F{7} %F{7}%$NUM_DIR~ %{%k%}%F{8}" | |
| background_jobs="%(1j.%F{8}%K{8} %F{3} %{%k%}%F{8}%f.)" | |
| non_zero_return_value="%(0?..%F{8}%K{8} %F{1} %{%k%}%F{8}%f)" | |
| ZSH_THEME_GIT_PROMPT_PREFIX="%F{8}%K{8} %F{7} %K{8} " | |
| ZSH_THEME_GIT_PROMPT_SUFFIX=" %{%k%}%F{8} %{$reset_color%} " | |
| ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%} " |
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
| export ZSH=$HOME/.oh-my-zsh | |
| ZSH_THEME="osx2" | |
| for p in "${plugins[@]}"; do | |
| target="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/$p" | |
| if [[ ! -d "$target" ]]; then | |
| echo "[oh-my-zsh] Installing missing plugin: $p" | |
| git clone "https://github.com/${p}/${p}.git" "$target" 2>/dev/null \ | |
| || echo "[oh-my-zsh] Failed to auto-install $p" | |
| 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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # This script downloads the official Cursor Agent installer, programmatically | |
| # modifies it for Android/Termux compatibility, and then executes it. | |
| # It uses `sed` and temporary files to inject logic, making it resilient to | |
| # version changes in the official installer. | |
| # --- Helper Functions --- | |
| step() { echo -e "\033[0;34m▸\033[0m $1"; } |
NewerOlder