This assumes usage of systemd and sudo.
I only tested this with the server running on a raspberry pi 4, the zwift client running on Android and the DNS records changed on the router.
#!/usr/bin/env bash | |
set -e | |
GITHUB_USERNAME= | |
# https://github.com/settings/personal-access-tokens | |
GITHUB_TOKEN= | |
GITEA_USERNAME= | |
# https://<gitea_domain>/user/settings/applications | |
GITEA_TOKEN= |
This assumes usage of systemd and sudo.
I only tested this with the server running on a raspberry pi 4, the zwift client running on Android and the DNS records changed on the router.
#!/bin/bash | |
# Inspired by TL;DW seen on https://news.ycombinator.com/item?id=43021044 with it's source code at https://github.com/stong/tldw I copy pasted the video prompts in it. | |
# | |
# Dependencies: bash, sed, jq, yt-dlp, curl, dmenu, tsp, pdftext(python-pdftext), trash(trash-put), sponge(moreutils) | |
# Compatibility: Only tested on Arch btw | |
# | |
# IMPORTANT: curl uses the --insecure to download pdf's and it is not recommanded. https://curl.se/docs/sslcerts.html | |
# IMPORTANT: Don't forget to edit your api keys, the script currently uses pass | |
# | |
# This script was extracted from my qutebrowser config. |