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 -S uv run --script | |
# /// script | |
# requires-python = ">=3.12" | |
# dependencies = [ | |
# "python-decouple>=3.8", | |
# ] | |
# [tool.uv] | |
# exclude-newer = "2025-07-21T00:00:00Z" | |
# /// |
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
# syntax=docker/dockerfile:1.17.1 | |
FROM python:3.12-slim AS builder | |
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ | |
ARG DEBIAN_FRONTEND=noninteractive | |
RUN <<-EOF | |
cat > /etc/apt/apt.conf.d/99timeout_and_retries <<- APT_CONF |
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
{ | |
"permissions": { | |
"allow": [ | |
"Bash(grep:*)", | |
"Bash(yarn run *)", | |
"Bash(yarn lint:*)", | |
"Bash(yarn workspace:*)", | |
"Bash(find:*)", | |
"Bash(mkdir:*)", | |
"Bash(rg:*)", |
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 -S uv run --script | |
# /// script | |
# requires-python = ">=3.13" | |
# dependencies = [ | |
# "httpx>=0.28.1", | |
# "rich>=13.9.4", | |
# "sh>=2.2.2", | |
# "python-decouple>=3.8", | |
# ] |
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 | |
# Modular Python installer with Docker fallback | |
set -e | |
# Help function | |
halp() { | |
cat << EOF | |
Usage: $(basename "$0") [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
#!/usr/bin/env bash | |
# SOURCE: https://github.com/Lanjelin/unraid/blob/main/unraid-brew/README.md | |
# Where we store the actual bins -- should be on ssd/nvme | |
# Use drive directly, and not via /mnt/user/ | |
# Makes a huge impact on performance | |
UNRAID_BREW_PATH=/mnt/cache/appdata/linuxbrew | |
UNRAID_BASH=0 | |
UNRAID_ZSH=0 |
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 | |
export PUSHOVER_USER_KEY="<your_user_key>" | |
export PUSHOVER_APP_TOKEN="<your_app_token>" | |
curl -s \ | |
--form-string "token=$PUSHOVER_APP_TOKEN" \ | |
--form-string "user=$PUSHOVER_USER_KEY" \ | |
--form-string "message=Hello, world!" \ | |
https://api.pushover.net/1/messages.json |
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 -S uv run --script | |
# /// script | |
# requires-python = ">=3.13" | |
# dependencies = [ | |
# "httpx>=0.28.1", | |
# "python-decouple>=3.8", | |
# "sh>=2.2.2", | |
# ] | |
# [tool.uv] |
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
{ | |
"description": "Remap media keys for YouTube Music Desktop (ytmdesktop)", | |
"manipulators": [ | |
{ | |
"from": { "consumer_key_code": "play_or_pause" }, | |
"to": [ | |
{ | |
"key_code": "p", | |
"modifiers": ["command", "option", "shift"] | |
} |
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 | |
# shellcheck disable=SC2046,SC2164,SC2317 | |
# Global variables | |
logged_in_user="" | |
logged_in_home="" | |
repo_dir="" | |
output_dir="" | |
progress_file="" |
NewerOlder