You say that, then use a language that allows you to do this (it’s not lisp)
if (foo);
{
bar();
}
You say that, then use a language that allows you to do this (it’s not lisp)
if (foo);
{
bar();
}
Operator overloads, descriptor protocol, decorators
So basically r/lounge?
core-js is exactly that, but it focuses on implementing baseline features that can be polyfilled.
O(n!). I like it.
Lua tables are secretly hashmaps
1+1=11 means base 1
husbain’t
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.
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' {} +
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.
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.
But you understand what I mean.
I once removed all groups from my user by using usermod -g
instead of usermod -G
Always use set -eu
As long as you don’t have to implement it yourself.