![](/static/253f0d9b/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”
All Chinese businesses are owned by the CCP, except the ones that get caught being naughty. Suddenly those are a private business with no ties to the party.
If you’re on RHEL 8+, you can install the latest version of node with dnf.
dnf install nodejs
will likely install node 8 :(. Use dnf module install nodejs:20
to install the latest version.
But it’s important to use crumbled crispy bacon.
discourse does this well. While not exactly reply chain based, it’s still fairly easy to follow imo.
discourse > discord
I swear this is the plot to an anime/hentai.
Tiktok isn’t the only social media out there. It isn’t even the only short form video service. YouTube, Instagram, maybe X (formally Twitter) soon.
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.
You should try using pipx. Updating python is as simple as pipx reinstall-all --python python3.12
That’s part of the 3.11->3.12 changelog. To get the full changes for 3.12.3->3.12.4, consult the git log.
“Great, now there’s two of them” - Shadow
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
My gender was assigned randomly at account creation
'); UPDATE users SET gender = NULL;–
What if my gender is undefined?
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' {} +
But the best (fastest) plugins aren’t written in js.