![](/static/66c60d9f/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
Tried the ruff extension?
Tried the ruff extension?
“Microsoft bad”
This is the wonder of Lemmy 1.19
Here’s a neat tidbit. Using curl
without -f --fail
will make non-2xx status codes return success, so set -e
won’t help there.
All you need to do is set -e
at the start of the script to stop on a non-0 exit code. And quote variables to prevent globbing.
This is why most http clients don’t follow redirects by default.
First, use lsblk
to list your block devices. Note the path containing your usb device. e.g. /dev/sdb1
Next mount the device to an existing folder or create a new one.
mkdir -p /mnt/thumbstick
mount /dev/sdb1 /mnt/thumbstick
Now you can pipe the dpkg output to the usb device.
dpkg -l > /mnt/thumbstick/packages.txt
Finally, you can unmount the stick to ensure everything is flushed. (optional)
umount /mnt/thumbstick
Don’t worry, this file is likely the output of a bundler.
If you have a very large directory, find will check each individual file, even when -path
doesn’t match, which makes it take longer to complete. Combine -o
and -prune
to omit them entirely.
find . -path '**/node_modules/**' -prune -o -type f -name '*.js' -exec grep 'import' {} +
Some even turn the safety off for you
I play vanilla. As long as the updates stop my constant crashes on Linux, update away.
School’s back in. Day drinking is allowed again.
I am in misery/I save dick by giving it CPR/recee’s puffs recee’s puffs
If I chose it for gratis, I wouldn’t have replaced Windows with it.
But you understand what I mean.
Probably nixos to run distrobox with fedora, then using podman to run debian to compile the C application.
I once removed all groups from my user by using usermod -g
instead of usermod -G
Always use set -eu
But the best (fastest) plugins aren’t written in js.