Pulis
Chynd
This does more than half of the alphabet for the most frequently used letters.
1 karma · joined July 27, 2022
Pulis
Chynd
This does more than half of the alphabet for the most frequently used letters.
Some of the articles are on HN and have gotten a pretty good reception.
Fun read! Maybe put an RSS button somewhere so it's easier to subscribe to?
> There are many other services I am running (web-based IRC bouncer TheLounge, FreshRSS, and Keycloak, just to name a few) that won't be receptive to be run on Github Pages or whatever.
Maybe it's something on your end? I've checked the site on online services, three different networks and two different devices.
curl --http2 -H 'accept: application/dns-json' "https://1.1.1.1/dns-query?name=cloudflare.com" --next --http2 -H 'accept: application/dns-json' "https://1.1.1.1/dns-query?name=example.com"
There are DoH resolvers[0] that you can use that act as a "middleman" between your browser (configured to use a standard DNS server) and DoH (which is more secure and private)As for the logo, the line in the middle is the "string" for the tea bag. It is a different size because the actual logo is not part of the string, so the distinction must be made.
> This is woke IT, as long as it is decentralised it is somehow better than other software no matter how crapy the UX.
As someone who has used Gitea in the past, it is wonderful for it's goal of running a Git server with a webUI. Don't knock it until you've tried it.
> And please don't tell me it is open source software and I can contribute something, like I have time for that. Just take my money and shut up instead of, you know, using my tax money for stuff I don't care about. Thanks for listing to my TED talk.
If you're not willing to work toward fixing something, then stop complaining about it.
#!/bin/bash
set -e
BACKUPDIR=/srv/backup/$(/usr/bin/date -I)
umask 137
cd /tmp
backup_init() {
echo 'Initializing backup...'
mkdir "$BACKUPDIR"
chown root:root "$BACKUPDIR"
chmod 751 "$BACKUPDIR"
}
backup_postgres() {
# Postgres
echo 'Backing up PostgreSQL...'
sudo -u postgres /usr/bin/pg_dumpall > $BACKUPDIR/postgres.sql
}
backup_podman_volumes_for_user() {
if id "$1" &> /dev/null; then
echo "Podman user $1 found. Creating backups of volumes..."
mkdir "$BACKUPDIR/$1"
chmod 751 "$BACKUPDIR/$1"
for volume in $(sudo -u $1 /usr/bin/podman volume ls --format {{.Name}}); do
echo "Backing up volume $volume for user $1"
touch "$BACKUPDIR/$1/$volume.tar"
chown $1:$1 "$BACKUPDIR/$1/$volume.tar"
chmod 660 "$BACKUPDIR/$1/$volume.tar"
sudo -u $1 /usr/bin/podman volume export "$volume" --output "$BACKUPDIR/$1/$volume.tar"
chown root:root "$BACKUPDIR/$1/$volume.tar"
chmod 640 "$BACKUPDIR/$1/$volume.tar"
done
else
echo "User $1 not found. Skipping."
fi
}
backup_bitwarden() {
backup_podman_volumes_for_user bitwarden
cp /home/bitwarden/vaultwarden.conf $BACKUPDIR/bitwarden/
}
backup_etc() {
echo 'Backing up /etc...'
rsync -a /etc/ $BACKUPDIR/etc
}
backup_jellyfin_metadata() {
echo 'Backing up Jellyfin metadata...'
mkdir $BACKUPDIR/jellyfin
rsync -a /var/lib/jellyfin/ $BACKUPDIR/jellyfin
}
backup_postprocess() {
cd /srv/backup
echo 'Compressing...'
tar -czv --atime-preserve='system' -f $BACKUPDIR.tgz $BACKUPDIR
echo 'Removing...'
rm -rf $BACKUPDIR
}
backup_init
backup_etc
backup_postgres
backup_bitwarden
backup_jellyfin_metadata
backup_postprocess