LINUXOPOLIS # 26-FEBRUARY-2020 ~ WEATHER FORECAST
WEATHER
Building a Linux Habitatwilli glenz @ telegram
Published with SteemPeak
home ~ previous

vim ~/.config/fish/functions/gweather.fish
function gweather --description 'weather forecast'
clear; echo
echo '=========================================================================='
echo ' WEATHER '
echo '=========================================================================='
echo ' '
echo ' LOCATION '
echo ' $ curl wttr.in/london '
echo ' $ curl wttr.in/fulda '
echo ' $ curl wttr.in/bad+kissingen '
echo ' $ curl wttr.in/moon '
echo ' '
echo ' IATA CODES '
echo ' $ w3m iatocodes.de # IATA: codes '
echo ' $ curl wttr.in/muc # IATA: muc, Munich International Airport, Germany '
echo ' $ curl wttr.in/ham # IATA: ham, Hamburg Airport, Germany '
echo ' '
echo ' GEOGRAPHICAL LOCATION '
echo ' $ curl wttr.in/~Vostok+Station '
echo ' $ curl wttr.in/~Eiffel+Tower '
echo ' $ curl wttr.in/~Kilimanjaro '
echo ' '
echo ' IP-ADDRESS OR DOMAIN '
echo ' $ curl wttr.in/a.b.c.d '
echo ' $ curl wttr.in/google.com '
echo ' '
echo '--------------------------------------------------------------------------'
echo ' $ curl wttr.in/:help | less '
echo '=========================================================================='
echo
read
clear
curl wttr.in
end
SOURCES
github ................................................... github.com/chubin/wttr.in
fish ......................................... fishshell.com/docs/current/index.html
picture ....................................... screenshoot by me ~ my gnome-desktop