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
| # Dockerfile to build Python 3.13.9 from source with an Alpine image. | |
| FROM alpine:latest | |
| # Install build dependencies for python and git | |
| RUN sed -i '2s/^# *//' /etc/apk/repositories | |
| RUN apk update && apk add --no-cache build-base zlib-dev openssl-dev git | |
| # Create python directory. | |
| RUN mkdir -p /usr/build/python | |
| WORKDIR /usr/build/python |
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
| <!-- Window Tiling: Emulates Windows 7 Snap feature JASON CAVETT --> | |
| <keybind key="W-J"> | |
| <action name="UnmaximizeFull"/> | |
| <action name="MaximizeVert"/> | |
| <action name="MoveResizeTo"> | |
| <width>50%</width> | |
| </action> | |
| <action name="MoveToEdgeWest"/> | |
| </keybind> | |
| <keybind key="W-L"> |
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
| Openbox | |
| Tint2 | |
| Urxvt | |
| lxappearance | |
| breeze dark | |
| for system-wide mouse configuration, one can edit /usr/share/icons/default/index.theme | |
| tint2conf is the customizer | |
| sudo xbps-query -Rs rxvt |
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 | |
| # Update Brave browser on a Void system. | |
| install_latest_brave_deb() { | |
| # Get machine architecture. | |
| local arch | |
| arch=$(uname -m) | |
| if [ "$arch" == "x86_64" ]; then | |
| arch="amd64" | |
| elif [ "$arch" == "aarch64" ]; then |
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 | |
| killall -9 grub-mount |
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
| // ==UserScript== | |
| // @name Rotten Tomatoes Links for Jellyfin | |
| // @namespace https://github.com/stpettersens | |
| // @version 2025-11-12 | |
| // @description This script adds a Rotten Tomatoes link for TV and movies on Jellyfin. | |
| // @author Sam Saint-Pettersen | |
| // @match https://jellyfin.mmedia.stpettersen.xyz/* | |
| // @icon https://www.rottentomatoes.com/assets/pizza-pie/images/favicon.ico | |
| // @grant none | |
| // @run-at document-start |
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
| // ==UserScript== | |
| // @name Rotten Tomatoes Links for Jellyfin | |
| // @namespace https://github.com/stpettersens | |
| // @version 2025-09-15 | |
| // @description This script adds a Rotten Tomatoes link for TV and movies on Jellyfin. | |
| // @author Sam Saint-Pettersen | |
| // @match https://jfdemo.stpettersen.xyz/* | |
| // @icon https://www.rottentomatoes.com/assets/pizza-pie/images/favicon.ico | |
| // @grant none | |
| // @run-at document-start |
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
| #!/sbin/openrc-run | |
| # This will start `/usr/local/bin/copyparty-sfx` | |
| # | |
| # Installation: | |
| # cp -pv copyparty /etc/init.d && rc-update add copyparty | |
| # | |
| # You may want to: | |
| # change '/usr/bin/python3' to another interpreter |
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 | |
| python3 /usr/local/bin/copyparty-sfx.py -i 127.0.0.1 -p 3923 --dedup -c /etc/copyparty.conf | |
| # HTTPS configuration generated by certbot here | |
| # ... | |
| listen 80; | |
| server_name copyparty.homelab.mydomain.com; |
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
| ^+a:: { | |
| MsgBox "Key bindings are active." | |
| Return | |
| } | |
| !Enter:: { | |
| Run "wt.cmd" | |
| Return | |
| } |
NewerOlder