I can't Thank You enough for this video. I was having a hard time grasping how to form the query I needed to extract the data from some Json data I am working with. I would love to see you explain Conditionals and Comparisons as well. Thanks Again!
cool examples too, you could write some really cool code that organizes issue tracking, pull requests, commits ect from github on your own console of choice daaang
@@EarthlyTech any project like that would be a great project for new job seekers looking for a foot in the door too. I keep returning to this tutorial, thanks. its a full scale explanation of jqs foundations, really really helpful.
Thank you for presenting the concepts up through pipes and map/select in a clear and memorable manner!
My pleasure!
I can't Thank You enough for this video. I was having a hard time grasping how to form the query I needed to extract the data from some Json data I am working with. I would love to see you explain Conditionals and Comparisons as well. Thanks Again!
You're very welcome!
youtube needs more examples to connect theory with pragmatism like yours. thanks for sharing, i love your teaching style.
Glad you think so!
Another awesome video! The real case examples are appreciated ... making it very clear. Thanks!
Glad it was helpful!
Clearly explained. I expected jq to be harder honestly. It's such an amazingly useful tool.
Great to hear!
Hahaha, he just had to open the issue, titled "Good Day". Curiosity got the better of me too, but he saved me the time to open a new tab. Great tut!
Great video! The building up of the jq topics was superb 🎉
Thanks so much!
Thank you for this! Re-writing a cli tool I created that used sed/awk to interact/manipulate json before sending back to an API 😫
This is MUCH better!
Glad it helped!
FANTASTIC...
Thanks for watching
cool examples too, you could write some really cool code that organizes issue tracking, pull requests, commits ect from github on your own console of choice daaang
yeah, you could build your own TUI to GitHub. Might be a fun project.
@@EarthlyTech any project like that would be a great project for new job seekers looking for a foot in the door too. I keep returning to this tutorial, thanks. its a full scale explanation of jqs foundations, really really helpful.
Array indices are 0-based, so .[2] is the third element :-)
My Bad, thanks for watching though!
can you explain this code pls:
#!/usr/bin/env bash
yabai -m query --spaces --display | \
jq -re 'map(select(."is-native-fullscreen" == false)) | length > 1' \
&& yabai -m query --spaces | \
jq -re 'map(select(."windows" == [] and ."has-focus" == false).index) | reverse | .[] ' | \
xargs -I % sh -c 'yabai -m space % --destroy'