this will give you an .mkv and a .srt file:
yt-dlp -f "bv[ext=webm]+ba[ext=m4a]" --write-subs --embed-subs --sub-lang en,en.* --sub-format srt https://www.youtube.com/watch?v=inKdUICLmXY
this will give you an .mkv and a .srt file:
yt-dlp -f "bv[ext=webm]+ba[ext=m4a]" --write-subs --embed-subs --sub-lang en,en.* --sub-format srt https://www.youtube.com/watch?v=inKdUICLmXY
If the Terminal screen on a server’s Cockpit page is illegible, you’ll need to set the site permissions from your client web browser.
Go to the site at http://x.x.x.x:9090, login, click the Terminal option.
Click the lock icon in the address bar.
Click on Connection Not Secure.
Click on More Information.
Click on the Permissions icon.
Under “Extract Canvas Data”, unselect “Use Default” and select “Allow”.
Refresh the page. You may have to change the font size.
elevate to root
mkdir mkdir /mnt/athena_backups/"$HOSTNAME"_backups
tar -czf /mnt/athena_backups/"$HOSTNAME"_backups/etc-backup-$(date +%Y%m%d).tar.gz /etc
dpkg --get-selections > /mnt/athena_backups/"$HOSTNAME"_backups/package-selections-$(date +%Y%m%d).txt
apt update
apt upgrade -y
apt dist-upgrade -y
apt clean
apt autoremove -y
apt --fix-broken install
dpkg --configure -a
cp /etc/apt/sources.list /etc/apt/sources.list.bookworm-backup
cp -r /etc/apt/sources.list.d /etc/apt/sources.list.d.bookworm-backup
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
find /etc/apt/sources.list.d -name "*.list" -exec sed -i 's/bookworm/trixie/g' {} ;
This systematically updates all repository references from Bookworm to Trixie across all configuration files.
apt update
Third-party repositories may not immediately support Trixie. Consider temporarily disabling them by adding ‘#’ at the beginning of their lines in sources configuration files.
apt upgrade --without-new-pkgs
apt full-upgrade
cat /etc/debian_version
lsb_release -a
cat /etc/os-release
apt autoremove -y
apt autoclean
apt update
apt list --upgradable
systemctl reboot
init=/bin/bash
/usr/sbin/load_policy -i
mount -o remount,rw /
passwd
touch ./autorelabel
/sbin/reboot -f
sudo su -
cd /var/www/html/nextcloud/
sudo -u www-data php occ maintenance:mode --on
tar -cvpzf /mnt/athena_backups/nextcloud_backup/nextcloud-$(date +"%Y-%m-%d").tar.gz -C /var/www/html/nextcloud/ .
cd /var/www/html/nextcloud/
sudo -u www-data php occ maintenance:mode --off
OR:
cd /var/www/html/nextcloud/config/
sed -i s/"'maintenance' => true"/"'maintenance' => false"/ config.php
Change an external USB drive’s reference in fstab from ‘defaults to nofail:
UUID=xxx /media/toaster/sd20 ext4 nofail 0 0
This will prevent an absent USB drive from causing the boot to halt.