AMoistGrandpa

joined 7 months ago
[–] AMoistGrandpa@lemmy.ca 6 points 2 weeks ago

Fair enough, thanks for responding

[–] AMoistGrandpa@lemmy.ca 11 points 2 weeks ago (4 children)

Out of curiosity, why does everyone always go for Ubuntu in posts like this? I've always hated that distro; all my machines run Fedora instead. IMO Fedora with KDE is way better than Ubuntu with Gnome in terms of usability for people switching over from Windows, but maybe I'm just biased since I'm already super familiar with Linux

[–] AMoistGrandpa@lemmy.ca 3 points 1 month ago* (last edited 1 month ago) (1 children)

If you feel like learning a third shell, I find that Nushell is even easier to use than PowerShell.

open stuff.json | each { get fieldName } | where { str starts-with "asdf" } | each { $in | str upcase }

This gets all the objects in the given json file, then grabs the value of the field named "fieldName", then filters all those values to find the ones that start with and, converts those to uppercase, and prints them to the screen as a nicely formatted list

[–] AMoistGrandpa@lemmy.ca 9 points 2 months ago (4 children)

Does anyone know the original source? I remember watching a ton of videos like 5 years ago with the same art style and the same jokey, animals-doing-funny-stuff kind of content, and I'm pretty sure this video came from that same author. I'd like to rewatch them if I can