Uncategorized
alta 9
firewalld is controlled by /etc/firewalld/zones/public.xml to install google authenticator you also have to edit /etc/ssh/sshd_config.d/50-redhat.conf as it also has “ChallengeResponseAuthentication no” (change to yes) dnf replaces yum remove old kernels (more than 2) dnf remove $(dnf repoquery –installonly –latest-limit=-2 -q) Read more
Uncategorized
dirty frag and fragnesia
echo “install esp4 /bin/false” | sudo tee /etc/modprobe.d/fragnesia.conf echo “install esp6 /bin/false” | sudo tee -a /etc/modprobe.d/fragnesia.conf echo “install esp4 /bin/false” | sudo tee /etc/modprobe.d/dirty-frag.conf echo “install esp6 /bin/false” | sudo tee -a /etc/modprobe.d/dirty-frag.conf echo “install rxrpc /bin/false” | sudo Read more
Uncategorized
grub graphics poo
If you’re console goes away during boot you can revert to old school giant font simple console with this in /etc/default/grub add nomodeset to end of GRUB_CMDLINE_LINUX_DEFAULT GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash nomodeset” at boot time you can hit the Esc key and Read more
Uncategorized
evince not able to save or print due to apparmor (permission denied, unable to write to temporary file)
These commands took care of it sudo ln -s /etc/apparmor.d/usr.bin.evince /etc/apparmor.d/disable/ sudo apparmor_parser -R /etc/apparmor.d/usr.bin.evince
Uncategorized
julia array of tuple
array of a pair of Int64 stack = Tuple{Int64,Int64}[] push!(stack,(1,2))
Uncategorized
duplicity rollback
https://mailinabox.email uses duplicity for backup – the maintainers have repeatedly pushed a new releases which break duplicity for mail in a box. If this happens to you the way to get it back is thus (you’ll want find the file Read more
Uncategorized
flac to mp3 – find
find . -name “*.flac” -exec ffmpeg -i {} -ab 320k -map_metadata 0 -id3v2_version 3 {}.mp3 \;
Uncategorized
HP M29w linux – ubuntu 24.04
This got me 90 % of the way: https://medium.com/@anzaloquin/how-to-configure-an-hp-scanner-on-ubuntu-overcoming-common-challenges-and-exploring-free-software-bf0a876cda07 the last 10 percent was getting the URI for my printer by running $ scanimage -L hpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=########## and then running $ hp-scan -dhpaio:/usb/HP_LaserJet_MFP_M28-M31?serial=########## which then triggered the HPLIP to install more Read more