Created
November 21, 2016 07:17
-
-
Save hnq90/c95abca1825470d5bfe3a09555393f98 to your computer and use it in GitHub Desktop.
Weather
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function weather() { | |
| local LOCATION=${1-"Hanoi"} | |
| curl wttr.in/$LOCATION | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment