PocketBase is an open source Go backend, consisting of:
Links:
#!/bin/bash
# copy this file into /bin/zcat to a file called /bin/7zcat
PATH=${GZIP_BINDIR-'/bin'}:$PATH
exec 7z e -so -bd "$@" 2>/dev/null | cat
#!/usr/bin/env bash
#
# Read line by line and parse a CSV file
# ex. test@office.com,Alex,1-800-555-321
#
# "IFS" - https://www.baeldung.com/linux/ifs-shell-variable
# ${gsm:2}" - remove the first 2 characters from the string
while IFS=, read -r email name gsm
do
echo "${name} $email ${gsm:2}"
done < users.csv
Sometimes it is better to limit the max resolution when playing videos with MPV.
# video resolutions: ..240, 360p, 480p, 720p,..
mpv --ytdl-format="bestvideo[height<=480]+bestaudio/best[height<=480]" $1