![](/static/0b35d4a1/assets/icons/icon-96x96.png)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
Tried the ruff extension?
Tried the ruff extension?
1+1=11 means base 1
“Microsoft bad”
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.
husbain’t
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
We just call those Smurf names.
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
If I chose it for gratis, I wouldn’t have replaced Windows with it.
I do all my work inside WSL anyway. I only use Windows at work because that’s what IT gave me. They also offer macbooks.
When your too busy moderating the community to contribute to kde, so you lose your moderator status. You’re also too busy contributing to kde to moderate the community.
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.