jq: A Practical Guide

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 71

  • @navekeng
    @navekeng  9 месяцев назад +6

    Shoutout to @chewie913 & @NostraDavid2 for the suggestion of jq!🤠
    Let me know in the comments what i should do next!
    Also good catch by @etcher6841
    The boolean select example at 12:19 is incorrect, you should drop the quotation around "true" and use a double equal sign :
    select( completed == true )

  • @johnjacoby6457
    @johnjacoby6457 9 месяцев назад +15

    This is super practical, thanks! Only suggestion would be to use the Chapters feature that RUclips has for videos where you can name each section of the video after the current flag or concept that you're talking about. A lot of people will come here that are like me who mostly know how to use these tools but are just looking to learn a few new things about them. It's nice to be able to quickly browse the chapters.

    • @navekeng
      @navekeng  9 месяцев назад

      Yea that’s not a bad idea, sometimes they auto add them and I go back in an update them but it takes a bit.
      I’ll see about adding some basic ones, thanks for the tips!

  • @VinnieBrazelton13
    @VinnieBrazelton13 9 месяцев назад +6

    I realized that I’ve watched 3 or 4 of your videos over the past few days. I’ve learned quite a bit about things I (apparently only partially) use daily. Thank you!

    • @navekeng
      @navekeng  9 месяцев назад +1

      That is awesome! Glad you came back!
      Feel free to let me know what else you would be interested in, and more are on the way 🤠

  • @etcher6841
    @etcher6841 9 месяцев назад +5

    Nice video !
    The boolean select example at 12:19 is incorrect, you should drop the quotation around "true" and use a double equal sign :
    select( completed == true )

    • @navekeng
      @navekeng  9 месяцев назад +1

      Ahhh drats your right!
      Thanks for the catch

  • @zohaibzafar-r1h
    @zohaibzafar-r1h 9 месяцев назад +2

    Thanks you Navek, for making this guide. I was actually having hard time understanding JQ from its manual.

    • @navekeng
      @navekeng  9 месяцев назад

      Glad it helped!

  • @RootsterAnon
    @RootsterAnon 9 месяцев назад

    also don't forget to output that to another file with > so you can diff the changes in nvim. I've used jq for some time but this video actually opened my eyes on how i should use jq.

    • @navekeng
      @navekeng  9 месяцев назад +1

      sick, glad you liked it!
      yea in a effort to condense I sometimes have to skip some things, its always a trade off

  • @GustavoZIMBA
    @GustavoZIMBA 9 месяцев назад +3

    I’m loving all these videos you are publishing! Please keep doing it. Great video!

    • @navekeng
      @navekeng  9 месяцев назад

      Thank you! Will do!

  • @eduardoneville9394
    @eduardoneville9394 9 месяцев назад +3

    Very helpful! I'm loving the guides you're making!

    • @navekeng
      @navekeng  9 месяцев назад

      Thanks, more coming!

  • @tjhoth5182
    @tjhoth5182 2 месяца назад

    Nice video and super useful stuff! Subbed cause I see you have a lot more of these practical guides that I'm sure I'll want to reference soon! Having a github repo where you store and share your episode notes would be so sick! I could see this being really useful for young devs and sys admins :)

  • @olgam4605
    @olgam4605 2 месяца назад

    You explain so clearly. Thank you !

  • @thediskostarz
    @thediskostarz 9 месяцев назад +3

    Great video, very well explained.

    • @navekeng
      @navekeng  9 месяцев назад +1

      Glad you enjoyed it!
      Thanks for commenting and watching!
      Feel free to let me know if you have any suggestions for the future (especially because you are so early to this one lol)

  • @rafiraf1522
    @rafiraf1522 9 месяцев назад +1

    Loved the video! Just a suggestion, you don't have to cat | the file, you can just pass it directly to jq as last argument.

  • @brycethompson
    @brycethompson 9 месяцев назад +1

    Great video for an intro or refresher to jq, thanks!

    • @navekeng
      @navekeng  9 месяцев назад

      Glad you liked it!

  • @u1avrill1
    @u1avrill1 9 месяцев назад +2

    You should really make a video about tmux, your content really make it easy for me and others.

    • @navekeng
      @navekeng  8 месяцев назад +1

      Its on the list, not something im super strong in tho

  • @judgewest2000
    @judgewest2000 4 месяца назад

    Hey thank you for this tutorial. It's the first time I've ever heard of this. Is it fair to say this is very much necessary for bash which doesn't necesarily deal will with this kind of parsing, as opposed to powershell or python which deals with objects a little more elegantly???

  • @michaell01
    @michaell01 7 дней назад

    Excellent explainer tutorial! You are awesome :)

  • @Gamingfouryou
    @Gamingfouryou 9 месяцев назад +1

    Very nice, thank you for sharing your knowledge!

    • @navekeng
      @navekeng  9 месяцев назад

      Thank you for watching!

  • @yomajo
    @yomajo 8 месяцев назад

    A deep dive for sure. Very well done!

  • @sebscripts
    @sebscripts 9 месяцев назад +2

    Preventing from saying 4th
    Edit: You hearted my comment before i even watched the full video

  • @iamzwn
    @iamzwn 6 месяцев назад

    This was super helpful, thanks! love the format and look forward to seeing more

  • @GoldenBeholden
    @GoldenBeholden 9 месяцев назад +1

    Really neat, though I prefer Nushell for this purpose for better pipelining.

    • @navekeng
      @navekeng  9 месяцев назад

      Yea makes sense, I’m starting with the basics here but might talk about some of those rust utils in the future
      Also you might not be working on a system that has nutshell but almost always has core utils, but some folks that doesn’t matter.
      Thanks for watching!

    • @GoldenBeholden
      @GoldenBeholden 9 месяцев назад +1

      @@navekeng Absolutely, Nushell is really nice to have, but basic tools like these are still more reliable if you often work in systems you don't fully control.

  • @TeamDman
    @TeamDman 3 месяца назад

    Great explanation!

  • @vikingthedude
    @vikingthedude 9 месяцев назад +3

    based content

  • @kirillfedtsov
    @kirillfedtsov 6 месяцев назад

    Wow so cool, thank you! Got here after listening to Primeagen.

  • @utvikler-no
    @utvikler-no 9 месяцев назад +1

    Awesome! Thanks❤

    • @navekeng
      @navekeng  9 месяцев назад

      You're welcome 😊

  • @michaelkrailo5725
    @michaelkrailo5725 8 месяцев назад

    What just happened with the greater than equal to symbol out of nowhere? @11:47

  • @neel6
    @neel6 9 месяцев назад +2

    Catchy thumbnail

    • @navekeng
      @navekeng  9 месяцев назад +1

      ty! 🫡

  • @ClariNerd
    @ClariNerd 9 месяцев назад

    Alrighty, time to use map to convert the units from the NWS API.

    • @navekeng
      @navekeng  8 месяцев назад

      Good luck!

  • @Yayaisbadatchess
    @Yayaisbadatchess 9 месяцев назад +1

    YES! 10/10

  • @cruchitect
    @cruchitect 9 месяцев назад +1

    thx for this

    • @navekeng
      @navekeng  9 месяцев назад

      your welcome!

  • @Yayaisbadatchess
    @Yayaisbadatchess 9 месяцев назад

    Is there a new video on the horizon…? :)

    • @navekeng
      @navekeng  8 месяцев назад +1

      LOL I got sick :( I finally put one out just for you tho

  • @jaopredoramires
    @jaopredoramires 9 месяцев назад +1

    jq is Turing-complete?!?

    • @navekeng
      @navekeng  9 месяцев назад

      Yea! Its wild lol
      Here is someone that built a brainfuck interpreter with jq github.com/makenowjust/bf.jq
      and here is someone else building a whitespace interpreter[0] news.ycombinator.com/item?id=28299366

    • @jaopredoramires
      @jaopredoramires 9 месяцев назад +1

      i can't believe it

  • @LianaBowdoin-k9w
    @LianaBowdoin-k9w Месяц назад

    Princess Glen

  • @JamieCarol-p1w
    @JamieCarol-p1w Месяц назад

    Stiedemann Mountains

  • @EnLopXf
    @EnLopXf 9 месяцев назад +1

    apt next

    • @navekeng
      @navekeng  9 месяцев назад

      ahh this is a good idea, I'll add it to my list!

  • @lololol5371
    @lololol5371 5 месяцев назад +3

    I thought it was jешisн question

  • @SawyerBrady-h9s
    @SawyerBrady-h9s 2 месяца назад

    Robbie Radial

  • @AndrewJohnson-b8l
    @AndrewJohnson-b8l 2 месяца назад

    Jacobi Turnpike

  • @NdahimanaBonastorage
    @NdahimanaBonastorage 14 дней назад

    Turabemera

  • @TiffinyFate-k2b
    @TiffinyFate-k2b 2 месяца назад

    Celestine Isle

  • @LarryWheeler-j8z
    @LarryWheeler-j8z 2 месяца назад

    Madie Key

  • @LindsayIna-r2t
    @LindsayIna-r2t 2 месяца назад

    Robinson Donald Jackson Dorothy Johnson Timothy

  • @iqlip7
    @iqlip7 9 месяцев назад +2

    very helpful

    • @navekeng
      @navekeng  9 месяцев назад

      Glad it helped!