

You need to update yt-dlp, ie:
pip3 install -U yt-dlp
But first you probably need to install an updated python version; the latest yt-dlp needs at least python 3.10 iirc


You need to update yt-dlp, ie:
pip3 install -U yt-dlp
But first you probably need to install an updated python version; the latest yt-dlp needs at least python 3.10 iirc


Practically speaking all open source software is communist, insofar as the capital, which in the case of software would be the source code and the means to build and deploy it, is available to anyone with the wherewithal to use it.
I have a cheap brother USB printer, the HL-L2300D. I got it for $80 refurbished. I get wifi printing with my phone through cups on my attached computer. You do need to install the ppd files from brother for optimal performance iirc.
Then it is working. That is what that code was checking for.
Specifically, -n checks if the variable exists and also does not have a null value.
If you want to reverse it, ie, check that those conditions are not true, put an exclamation mark in front of the whole thing.
You need to reference the value of the variable, ie:
if [[ -n "$VARIABLE1" && -n "$VARIABLE2" ]]; then
echo "OK"
fi


At least they are admitting it was wrong instead of doubling down


Upstart was the one that made me ditch it back in the day. I came back when they embraced the more sensible systemd


Check more logs - your webserver logs, auth logs, dmesg, journalctl entries, etc.
Kubuntu is a pretty solid choice. It has an up-to-date KDE, and it’s surprisingly snappy and resource efficient.


Bingo. This is the explanation.
Driver support will always potentially be an issue unless you buy laptops that are built for Linux, or are well vetted. This is because Microsoft has near total market control and Linux support is usually reverse engineered later if the drivers source is never shared.
Same thing for gaming – gaming support on Linux is mostly a bunch of ad hock hacks, because those games were never made to run on Linux in the first place.
So, if you want to commit to Linux, make it an informed choice. You will need to make some sacrifices. Or you could always just dip your toes and only use Linux for running a server or hosting a website.


Domestic cat


Detailed list view for everything except videos and images, and sometimes even for those
Ubuntu because they provide kernel live patching and they fix issues quickly and my system doesn’t go down if I procrastinate in doing system updates


deleted by creator
I tried it for a bit – it is similar to freebsd in terms of the package install process.
Completely different – nixos is about repeatability, while Gentoo is about build optimization, customization, and performance.
here we go:
dedup:
#!/usr/bin/awk -f
!x[$0]++
this removes duplicate lines, preserving line order
iter:
#!/usr/bin/bash
if [[ "${@}" =~ /$ ]]; then
xargs -rd '\n' -I {} "${@}"{}
else
xargs -rd '\n' -I {} "${@}" {}
fi
This executes a command for each line. It can also be used to compare two directories, ie:
du -sh * > sizes; ls | iter du -sh ../kittens/ > sizes2
fadeout:
#!/bin/bash
# I use this to fade out layered brown noise that I play at a volume of 130%
# This takes about 2 minutes to run, and the volume is at zero several seconds before it's done.
# ################
# DBUS_SESSION_BUS_ADDRESS is needed so that playerctl can find the dbus to use MPRIS so it can control mpv
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
# ################
for i in {130..0}
do
volume=$(echo "scale=3;$i/100" | bc)
sleep 2.3
playerctl --player=mpv volume $volume
done
lbn:
#!/bin/bash
#lbn_pid=$(cat ~/.local/state/lbn.pid)
if pgrep -fl layered_brown
then
pkill -f layered_brown
else
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"
mpv -ao pulse ~/layered_brown_noise.mp3 >>lbn.log 2>&1 &
sleep 3
playerctl -p mpv volume 1.3 >>lbn.log 2>&1 &
fi
This plays “layered brown noise” by crysknife. It’s a great sleep aid.
here are some aliases:
alias m='mpc random off; mpc clear'
alias mpcc='ncmpcpp'
alias thesaurus='dict -d moby-thesaurus'
alias wtf='dict -d vera'
alias tvplayer='mpv -fs --geometry=768x1366+1366+0'
deleted by creator