I didn’t know chess had airstrikes
Are the top and bottom two different programs? What’s going on here?
Closely related to that:
Still faster than Windows
Everything here reminds everyone of that.
Here’s a few of the micro-hacks that I’ve hacked up in the past.
#!/bin/sh
clear
doas chroot /linux /bin/login
ide
which runs Vim, and then compiles the code and makes it executable. #!/bin/sh
#Works only for C
vim $1.c && cc -O3 -Wall -Werror -Wno-unused-result $1.c -o $1
#MODE=`stat -f "%OLp" $1`
if ("stat -f "%OLp" $1 | grep -e 6 -e 4 -e 2") then
chmod +x $1
fi
demoronize
, which does what it says in the comments #!/bin/sh
#dos2unix -O -e -s $1 | sed 's/ / /g' | sed 's/“/"/g' | sed 's/”/"/g'
cat $1 | sed 's/ / /g' | sed 's/“/"/g' | sed 's/”/"/g'
#Convert DOS line endings to Unix ones and add a final newline if there isn't one,
#replace sequence of 4 spaces with tab,
#and replace "smart" quotes with normal ones
I just keep those ones for historical value, but there’s one hack I use every day. My keyboard doesn’t have a function key (Fn), so I use the Super/Windows key instead.
I have xdotool keyup Super_L keyup Super_R keyup F4 key XF86Sleep
bound to a custom keyboard shortcut. It unpresses the keys used for the shortcut (Super + F4), then presses the sleep key.
Damn Taskbar is gold
What is unclutter
?
Not really trying to accomplish much, just trying to save a few seconds in the manual installation process.
Mounting /var/log in RAM just seems like more trouble than it’s worth.
What if I’m on another minimal distro, like Artix, that doesn’t use systemd? Journald is a systemd thing, and I’m not going to install systemd on top of a perfectly good init system.
What if I’m on another minimal distro, like Artix, that doesn’t use systemd? Journald is a systemd thing, and I’m not going to install systemd on top of a perfectly good init system.
Today on “Was this caused by stupidity or malice”…
Microsoft said earlier this month it would apply “a Secure Boot Advanced Targeting (SBAT) update to block vulnerable Linux boot loaders that could have an impact on Windows security,”
(emphasis mine)
Linux Mint has Xpad for sticky notes.
A volumetric flask full of weed. Gotta have a metered dose.
Got a source about Adguard? I use it on my phone, and I don’t get any ads.
I need the exact location of the trash so I can specify it in the excludes for my backup tool. If it changes with the DE, then I have to change the excludes. But it doesn’t.
OK, got it
I’d just like to interject for a moment…