Lurker News
I've asked this previously: https://news.ycombinator.com/item?id=22849208

But a few years have past and want to see what's emerged since. Although can be new to you vs. released in 2021 or 2022 necessarily.
Things I've come across in the meantime:
* mock AWS services https://github.com/spulec/moto
* query cloud services https://github.com/turbot/steampipe
* munge CSV https://github.com/johnkerl/miller https://github.com/BurntSushi/xsv
* page json https://github.com/PaulJuliusMartinez/jless
* text to tree structure [I use this as a hack to version control my music library] https://github.com/birchb1024/frangipanni

Comments (559) 186 threads

Earlier comments
fotta1 reply#
I probably shouldn't admit this but the fzf fish shell integration is basically how I remember useful commands instead of writing them in a note, because I'm too damn lazy
MH151 reply#
Haha yes- and then when I open a new machine or somehow lose shell history it takes me a bunch of time to get back up to speed. IMO worth it for me but it can be a speed bump.
fotta#
I recently moved to a new machine and copied the history file over, definitely helped me immensely
silasdb#
Matrix Docker Ansible Deploy [1] allows me to unify all chat networks that I use under one single server (and, therefore, one single client), avoiding switching windows. I do believe it saved me hundred of hours...

[1] https://github.com/spantaleev/matrix-docker-ansible-deploy

placatedmayhem#
gron https://github.com/tomnomnom/gron

It takes JSON input and produces flat, key-value output based on the path to the value. Usage with grep was obviously the original intention, but I've used it to help me better understand a given JSON's structure, too, which I then usually reflect back into a program that's consuming that JSON.
It also supports "ungron" too, so, for example, `gron some.json | grep -v "thing I don't want" | gron -u > filtered.json" makes for quick filtering of a JSON. I find it more user friendly than jq's language.

phist_mcgee#
Throwing my hat in the ring for Justfile. It's basically a streamlined make.

https://github.com/casey/just
Where it really shines are in places like monorepos where you may have many inter-related setup scripts, build commands or helper utilities.
You define all of your commands in one file (or multiple if you want a hierarchy) and can run commands from any subdirectory.
eg. You have a monorepo with a web server, and also a react-native app in separate directories, you can call `just build-app` in the web directory, or call just `start-server` when your terminal's current directory is 7 diretories deep in the mobile directory.
The amount of time I have saved cd'ing around has honestly been amazing. It's worth it's weight in gold, especially on large projects.

Load more comments