Skip to content

Instantly share code, notes, and snippets.

@taylorotwell
Last active August 27, 2019 13:40
Show Gist options
  • Save taylorotwell/c8d5cccae16d040ee3d6d3e34a26127a to your computer and use it in GitHub Desktop.
Save taylorotwell/c8d5cccae16d040ee3d6d3e34a26127a to your computer and use it in GitHub Desktop.
Weather CLI
alias weather='curl -s wttr.in | sed -n "1,7p"'
Copy link

ghost commented Feb 16, 2017

good!!!

@miclf
Copy link

miclf commented Feb 21, 2017

@KodiakSA your last line uses wrong numbers. It should be

alias weatm="curl -s wttr.in | sed -n '18,27p'" #weather tomorrow

@RafaPegorari
Copy link

Great rsrsrs

@deokon
Copy link

deokon commented Apr 2, 2017

No need for sed:

curl -s wttr.in/"?0"

@eberharterm
Copy link

This is awesome. 👍

@chalasr
Copy link

chalasr commented Apr 11, 2017

Awesome

@keep-active
Copy link

cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment