Skip to main content

Stuck in the command line fighting yamls and wondering about the weather?

  • April 13, 2022
  • 16 comments
  • 132 views

Geoff Burke
Forum|alt.badge.img+22

Saw this today.. where have you been all of my life!!!

Weather from the shell!!

 

curl wttr.in

result:
 

 

16 comments

Chris.Childerhose
Forum|alt.badge.img+21

Very cool


JMeixner
Forum|alt.badge.img+16
  • On the path to Greatness
  • April 13, 2022

Cool 😎 The shell rocks 👍🏼


marcofabbri
Forum|alt.badge.img+12
  • On the path to Greatness
  • April 13, 2022

This should work on Windows too!

Super cool 😎


dips
Forum|alt.badge.img+7
  • On the path to Greatness
  • April 13, 2022

Sweet, that is really cool! 😎


MicoolPaul
Forum|alt.badge.img+23

Very cool, but was also hoping you had a cure for the evil that is YAML. 🤮


dips
Forum|alt.badge.img+7
  • On the path to Greatness
  • April 13, 2022

Very cool, but was also hoping you had a cure for the evil that is YAML. 🤮

No cure for that yet!


Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • April 13, 2022

Cool 😎


Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • April 13, 2022

This should work on Windows too!

Super cool 😎

It works….. 😎


michaelcade
Forum|alt.badge.img+7
  • Product Strategy
  • April 13, 2022

I have this set up with the hotkey ctrl + w in my terminal,


michaelcade
Forum|alt.badge.img+7
  • Product Strategy
  • April 13, 2022

 


michaelcade
Forum|alt.badge.img+7
  • Product Strategy
  • April 13, 2022

If you want to do that then you can do that by editing your shell config file, in my case I am using ZSH so i need to edit the .zshrc file and add the bind key option down below.

https://github.com/MichaelCade/dotfiles


dips
Forum|alt.badge.img+7
  • On the path to Greatness
  • April 13, 2022

Code is on Github https://github.com/chubin/wttr.in

Also to check a specific location:

curl wttr.in/London

 


regnor
Forum|alt.badge.img+14
  • Veeam MVP
  • April 13, 2022

Very cool; didn’t know about that and I’m already sharing this 😁

  

This should work on Windows too!

Super cool 😎

It does 😉

Invoke-WebRequest wttr.in|fl content

 

 


Geoff Burke
Forum|alt.badge.img+22
  • Author
  • Veeam Vanguard
  • April 13, 2022

Code is on Github https://github.com/chubin/wttr.in

Also to check a specific location:

curl wttr.in/London

 

zsh, ah yes what I have on the MAC. Have you seen this https://ohmyz.sh/ it has a ton of plugins including kubectl git etc. 

Makes things easier too https://www.thorsten-hans.com/autocompletion-for-kubectl-and-aliases-using-oh-my-zsh/

 

cheers


Iams3le
Forum|alt.badge.img+11
  • Veeam Legend
  • April 13, 2022

Geoff Burke
Forum|alt.badge.img+22
  • Author
  • Veeam Vanguard
  • April 13, 2022

Code is on Github https://github.com/chubin/wttr.in

Also to check a specific location:

curl wttr.in/London

 

zsh, ah yes what I have on the MAC. Have you seen this https://ohmyz.sh/ it has a ton of plugins including kubectl git etc. 

Makes things easier too https://www.thorsten-hans.com/autocompletion-for-kubectl-and-aliases-using-oh-my-zsh/

 

cheers

Ah Michael has that in his link I see, always one step ahead 🙂 :)