12510198
sudo sed -i 's/libalpm.so.14/libalpm.so.15/g' /usr/bin/paru
I made this userscript to put the vote count in comments back beside the vote button because the new one is kind of hard to see, its not the prettiest script (idk much about javascript), but I've tested it in Librewolf with Violentmonkey and it does work, hope it helps someone else!
// ==UserScript==
// @name New script blahaj.zone
// @namespace Violentmonkey Scripts
// @match https://lemmy.blahaj.zone/post/*
// @grant none
// @version 1.0
// @author -
// @description 8/24/2024, 3:32:47 PM
// @run-at document-idle
// ==/UserScript==
function main ()
{
var parent_comments = document.getElementsByClassName("comment list-unstyled");
for (var i = 0; i < parent_comments.length; /*i++*/)
{
/*console.log(i);*/
var comments = parent_comments[i].getElementsByTagName("article");
for (var j = 0; j < comments.length; j++)
{
var upvote_button = comments[j].getElementsByTagName("button")[1];
if (upvote_button.attributes["vote_count_patched"] != null)
{
i++;
continue;
}
var post_votes = upvote_button.attributes[2].textContent.split(' ')[0];
upvote_button.append(' ' + String(post_votes));
upvote_button.attributes["vote_count_patched"] = true;
i++;
}
}
}
/*var mutation = null;
var mutation_observer = new MutationObserver(function(m) { mutation = m; console.log("new mutation logged yo");} );
mutation_observer.observe(document, { childList: true, subtree: true }); */
var mutation_observer = new MutationObserver(main);
mutation_observer.observe(document, { childList: true, subtree: true});
main();
I think it kinda looks like a lollipop
What a bunch of cringe edgy antinatalist nonsense. Think about the future, if you don't have kids, who are we gonna feed to the machine a few decades from now?
I figure that the administrators of your homeserver could see your IP address, I doubt that it would be sent to anyone you are just chatting with.
Ive only had to setup a nvidia system once, so I might be missing some packages, but I think pacman -Rns nvidia nvidia-utils lib32-nvidia-utils
should get rid of all of it.
WARNING: doing this will absolutely DESTROY YOUR SYSTEM, PERMANENTLY!!!
But if you wish to continue, you can erase all the EFI variables using the rm utility, I dont think you will be able to completely zero out the chip on the system from inside of Linux as its read-only.
But to delete all the EFI variables, cd into /sys/firmware/efi/efivars
, if this directory is not availiable, either the efivarfs is not mounted, or you are booted in legacy BIOS mode. But once you are in this directory, run chattr -i ./*
as root or sudo to remove the immutable bit on all the files, then run rm ./*
as root. This WILL break your system. Only do this if you know how to restore your system using like a chip programmer.
This happened to me too. I had to grab the box that comes up and resize it like I would with a normal window, mine glitched a lot when I tried it, try resizing it as far as you can, it will try and glitch back, but just keep fighting it until it becomes a usable size, then log out of Plasma and log back in, and then you can size it back down to a normal size. Hopefully there will be an official fix for this soon
What about something like this:
for i in /media/johann/5461-000B/DCIM/100MEDIA/*.AVI; do newpath="$HOME/Public/240321/$(basename "$i" | sed 's/^IMAG/240321_/g')"; ffmpeg -i "$i" -ss 00:00:00 -t 00:00:20 "$newpath" && rm "$i"; done
If its just /
owned by the mint user, you should just able to run chown root:root /
as root/sudo, dont use -R
. This should make root become the owner of /
. Now if all files and directories in the partition are owned by the mint user, this might be a bigger problem
Nheko is my favourite client, it uses QT and is written in C++, its lightweight and works well on my machines with low resources, it also respects my system theme