Zash · @zash
281 followers · 531 posts · Server fosstodon.org

I got to output tables. Very nice!

#yq #lua

Last updated 1 year ago

Guilherme · @gmgall
63 followers · 711 posts · Server bolha.us

input_filename das ferramentas e não funcionam como esperado: gmgall.net/blog/input_filename

#jq #yq #blog #blogging #json #RSS #shell #bash

Last updated 1 year ago

Matthew Graybosch · @starbreaker
23 followers · 323 posts · Server indieweb.social

@m2m, I figured out how to process incoming locally instead of using .

First step is to a feed:

curl "webmention.io/api/mentions.jso${API_KEY}"

Next, I use and in a gnarly shell script to create files for each post.

git.sr.ht/~starbreaker/starbre

If a post has webmentions, my "to-html.sh" script will feed them into and my custom template will do the rest.

git.sr.ht/~starbreaker/starbre

git.sr.ht/~starbreaker/starbre

#pandoc #yaml #yq #jq #curl #javascript #webmentions

Last updated 1 year ago

Matthew Graybosch · @starbreaker
23 followers · 321 posts · Server indieweb.social

@m2m Well, I can pull mentions with and dump it in /tmp to query with by URL on a per file basis. If I then convert query results to YAML with I should be able to process them with .

#pandoc #yq #jq #curl

Last updated 1 year ago

Ed W8EMV · @w8emv
323 followers · 429 posts · Server hachyderm.io

Removing nulls from a JSON object with , some notes on same

vielmetti.typepad.com/logbook/

prompted by @fasterthanlime and saved to a blog so that bit of ephemera could be incrementally easier to find.

with a bonus mention of mikefarah.gitbook.io/yq/ which is like jq for YAML, if your life revolves around YAML.

#jq #yq

Last updated 1 year ago

lgersman · @lgersman
4 followers · 49 posts · Server fosstodon.org

Whoop whoop - yq is kinda "jq for yaml" :

mikefarah.gitbook.io/yq

Bonus : yq ist able to transform json to yaml and vice versa 🤟

#jq #yaml #transform #yq

Last updated 1 year ago

lgersman · @lgersman
4 followers · 47 posts · Server fosstodon.org

Whoop whoop - yq is kinda "jq for yaml" :

mikefarah.gitbook.io/yq

Bonus : yq ist able to transform json to yaml and vice versa 🤟

#jq #yaml #transform #yq

Last updated 1 year ago

Dylan · @BitsByMe
43 followers · 30 posts · Server hachyderm.io

I spent part of the end of year holiday attempting to learn some Go and get my SQL on. Well not MySQL but SQLite. I just wrote up some things I learned about common table expressions (CTEs), and my complete ineptitude at some aspects of command-line data processing. It's not always pretty, but If The Learn Don't Burn (?!!) are you really learning?

bitsby.me/2023/02/tracking-pro

#learning #sql #commandline #nopainnogain #sqlite #yq

Last updated 1 year ago

Joel Bennett · @jaykul
280 followers · 189 posts · Server fosstodon.org

I don't know if I'm learning syntax or just making a collection of usable queries, but here's one for yaml from today.

To pull the config for the user(s) with "prod" in the name:

yq '.users.[] | select(.name|contains("prod"))' $home\.kube\config

That's github.com/mikefarah/yq

doesn't (yet) support _all_ of jq's syntax, but it supports everything I've needed, and it works on yaml AS WELL AS on json...

#jq #kubectl #yq

Last updated 2 years ago

Jim Fitzpatrick · @boomatang
4 followers · 49 posts · Server techhub.social

@ikkeT while is super useful, especially in scripts, I have found to be super for exploring cluster and doing small edits.

#yq #k9s

Last updated 2 years ago

ikkeT :fedora: :redhat: · @ikkeT
105 followers · 201 posts · Server fosstodon.org

Note to myself: start utilizing for extracting info from yaml, or modifting them... Handy tool for data, like for json. betterprogramming.pub/my-yq-ch

#yq #k8s #yaml #jq #openshift

Last updated 2 years ago

totoroot · @totoroot
327 followers · 2783 posts · Server fosstodon.org

@skunksarebetter If you do a lot of work around , should definitely be in your digital toolbox!

#yq #k8s #kubernetes

Last updated 3 years ago

FiXato · @FiXato
393 followers · 9413 posts · Server toot.cat