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


Userlevel 7
Badge +10

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

Weather from the shell!!

 

curl wttr.in

result:
 

 


16 comments

Userlevel 7
Badge +8

Very cool

Userlevel 7
Badge +7

Cool 😎 The shell rocks 👍🏼

Userlevel 7
Badge +5

This should work on Windows too!

Super cool 😎

Userlevel 7
Badge +3

Sweet, that is really cool! 😎

Userlevel 7
Badge +8

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

Userlevel 7
Badge +3

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

No cure for that yet!

Userlevel 7
Badge +5

Cool 😎

Userlevel 7
Badge +5

This should work on Windows too!

Super cool 😎

It works….. 😎

Userlevel 7
Badge +2

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

Userlevel 7
Badge +2

 

Userlevel 7
Badge +2

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

Userlevel 7
Badge +3

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

Also to check a specific location:

curl wttr.in/London

 

Userlevel 7
Badge +6

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

 

 

Userlevel 7
Badge +10

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

Userlevel 7
Badge +5

Do you know I found this utility very exciting and I have blogged on it? Here is it: https://techdirectarchive.com/2022/04/13/weather-from-the-terminal-how-to-check-whether-details-from-the-command-line-in-windows-macos-linux-and-your-web-browser/

Userlevel 7
Badge +10

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 🙂 :) 

Comment