Mattias Wadman · @wader
110 followers · 441 posts · Server fosstodon.org

Thanks to github.com/thaliaarchi is now 99% ! 🥳

#jqjq #jq

Last updated 1 year ago

· @hjkl
15 followers · 317 posts · Server mas.to

can be really complicated. But also really powerfull. To output the information from the bicicle-counters in : curl --silent tuebingen.de/ecocounter/ecocou | jq -r '(.[] | "\(.name) (\(.last_day["day"])): \(.last_day["count"])"), "gesamt: \(map(.last_day.count|tonumber)|add)"'

Which is the information one can get from: tuebingen.de/radfahren/31489.h

#tubingen #jq

Last updated 1 year ago

leo_barros · @leo_barros
14 followers · 86 posts · Server bolha.us

Jq salva. Itay lançou uma nova versão. github.com/jqlang/jq/releases/

#jq

Last updated 1 year ago

Mattias Wadman · @wader
110 followers · 441 posts · Server fosstodon.org

@psykose good luck next time alpine the winner is haiku!

#jq

Last updated 1 year ago

Mattias Wadman · @wader
106 followers · 426 posts · Server fosstodon.org

jq 1.7 has been released 🥳 feel proud to be part of the team bringing new life into this wonderful tool and language!

github.com/jqlang/jq/releases/

#jq

Last updated 1 year ago

Mattias Wadman · @wader
106 followers · 415 posts · Server fosstodon.org

@rheijdendael oh scapy is cool, used many years ago to do dhcp integration tests :)

btw me and bunch of ppl are actively working on the original again so hopefully there will be 1.7 release soon, first release in 5 years!

#jq

Last updated 1 year ago

Mattias Wadman · @wader
104 followers · 392 posts · Server fosstodon.org

@mate i use this diff function from time to time gist.github.com/wader/4163da79 might be interesting

(link seems to have new line btw)

#jq

Last updated 1 year ago

Mathieu · @mate
304 followers · 3811 posts · Server 3615.computer

compare two JSONs with jq

"jq diff json"

gist.github.com
/ipan/e5e86d5495f16216e31fe12ebc9532a4

#json #jq

Last updated 1 year ago

OSTechNix · @ostechnix
666 followers · 1723 posts · Server floss.social
DJ Adams · @qmacro
391 followers · 626 posts · Server hachyderm.io

@deepak I'm a big fan of , it's awesome.

BTW, in case it helps, I wrote about how I improved my workflow with ijq, bash and tmux here 👉 qmacro.org/blog/posts/2023/04/

#ijq #jq

Last updated 1 year ago

Deepak · @deepak
23 followers · 97 posts · Server mastodon.nl

Not to self to not forget about again.
sr.ht/~gpanders/ijq/

#jq #json #ijq

Last updated 1 year ago

an 3vil ekccentr1k posting Ls · @ec670
114 followers · 8611 posts · Server pawoo.net

This squint face here is boosting a whole bunch of and content and I am so here for it!

mstdn.jp/@rk_20230815

#redpill #jq

Last updated 1 year ago

nev · @nev
1328 followers · 18738 posts · Server bananachips.club

Unbelievably, my script to generate a City Hall calendar appropriate for Google Calendar works!

I figured out string interpolation to generate agenda URLs, how to turn the Unix timestamps into appropriate dates and times, and how to string it all together into one script.

It could certainly be made more compact (I couldn't figure out how to nest curl commands right), but it works!

Now I need to figure out how to generate an .ics version, and/or make the Google Calendar…sync-able? Updatable? Because the schedule is obviously a static result and sometimes meetings get rescheduled, added, etc. I don't know a way to do that.

#codeing #tocouncil #jq

Last updated 1 year ago

DJ Adams · @qmacro
388 followers · 609 posts · Server hachyderm.io

🔖 Processing deeply nested JSON with jq streams :: blog.oddbit.com blog.oddbit.com/post/2023-07-2

📝 A nice story building up to a great example of 's .

#jq

Last updated 1 year ago

nev · @nev
1322 followers · 18708 posts · Server bananachips.club

just spent a few hours noodling away in the terminal and made a lot of progress in understanding !

i am very slowly progressing towards generating a calendar file (.ics) of all the meetings for the year.

it used to be a thing you could download but is no longer. you can download .ics files for individual meetings, but 1) not all at once and 2) they don't have links to the agendas, which are easy to add if you make it yourself

yes i'm sure a knowledgeable person could do this in 5 minutes but i want to *understand* it, and, more importantly, no one has offered to do it for me

#jq #tocouncil #codeing

Last updated 1 year ago

musicmatze :rust: :nixos: · @musicmatze
936 followers · 3429 posts · Server social.linux.pizza

I learned enough scripting to know that I don't want to learn jq scripting.

#jq

Last updated 1 year ago

Mo :ferris: :tux: · @mo8it
445 followers · 1558 posts · Server fosstodon.org

is in Rust, with much higher performance 🚀

Very powerful for dealing with JSON!

github.com/01mf02/jaq

Here is the jq/jaq manual:
stedolan.github.io/jq/manual/v

#jaq #jq #rust #rustlang #json

Last updated 1 year ago

musicmatze :rust: :nixos: · @musicmatze
929 followers · 3350 posts · Server social.linux.pizza

syntax worst.

#jq

Last updated 1 year ago

Andreas Eberhart · @dashjoin
25 followers · 22 posts · Server fosstodon.org

Today we're happy to announce a new JSONata CLI: github.com/dashjoin/jsonata-cl

* JSON processing and transformation from the CLI
* Inspired by
* single executable file, no dependencies
* Up to 100% performance improvement compared to jq and others

Please feel free to submit feedback, PRs or any issues on GitHub. And don't forget to give us a star if you like it 😀

#jq

Last updated 1 year ago

Lars Kellogg-Stedman · @larsks
144 followers · 190 posts · Server hachyderm.io

And before I forget, I discovered "streams" support in and thought it was pretty nifty so I wrote a short article about it: blog.oddbit.com/post/2023-07-2

In particular, we look at how to remove a particular attribute (`description`) that could occur at any level in a deeply nested JSON document (an spec).

#jq #openapi

Last updated 1 year ago