home.social

Search

1000 results for “jq”

  1. New #Struts2 #jQuery plugin version 5.0.3 released. This version is based on the latest #Struts version 6.1.2, #jquery 3.7.0 and it includes some improvement's and bug fixes.

    bit.ly/s2jquery

    #java #javascript #webdevelopment #webdev #RELEASE #struts #jqueryui

  2. CW: #jq / #jaq syntax question

    I'm reimplmenting join() for an array in #jq / #jaq. Can I do better? Is there a library function I'm missing?

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

    mikefarah.gitbook.io/yq

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

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

    mikefarah.gitbook.io/yq

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

  5. I regularily use #pbcopy and #pbpaste shell commands on #MacOS. They are great to quickly process text. E.g. this formats JSON in clipboard and puts it back to clipboard:

    $ pbpaste | jq | pbcopy

    or this find the number of unique lines containing the word foo in file.txt:

    $ grep foo file.txt | sort | uniq -c | pbcopy

    PS: you can use `xmllint --format -` to format XML rather than #jq for JSON

  6. I regularily use #pbcopy and #pbpaste shell commands on #MacOS. They are great to quickly process text. E.g. this formats JSON in clipboard and puts it back to clipboard:

    $ pbpaste | jq | pbcopy

    or this find the number of unique lines containing the word foo in file.txt:

    $ grep foo file.txt | sort | uniq -c | pbcopy

    PS: you can use `xmllint --format -` to format XML rather than #jq for JSON

  7. #MoundMonday #PhotoMonday #Moche #Huacas #Peru
    A truck passes in front of the once largest #adobe #pyramid. In search of treasure, the river was diverted to erode the monument. A portion rermains.
    #HuacaDelSol #GeoLocation -8.131, -78.995
    Latitude -8.1301° tangent equals one-seventh.
    Early Monumental Architecture on the Peruvian Coast 
    jqjacobs.net/andes/coast.html
    #Archaeology #Arqueologia
    #Panoramio #PhotoShare by Razumikhina Daria web.archive.org/web/2016102210
    Click image for wider view.

  8. 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...

  9. #StandingStoneSunday
    High up a cliff north of #Vernal #Utah the impressive
    #ThreeKings panel on McConkie ranch.
    Northeast Utah Rock Art, The Vernal Area: jqjacobs.net/rock_art/ne_utah1
    Life-sized anthropomorphs, click image to see the human.
    I'm on a six inch ledge with a tripod and long lens for the best possible perpendicular viewpoint.
    #Southwest #Archaeology #Ancient #RockArt #Fremont #Culture #ClassicVernal style.
    More #Photography - The Rock Art pages: jqjacobs.net/rock_art/