Skip to main content

Weather at Cmdline

·51 words·1 min
Blogger cli weather
Table of Contents

curl
#

Check or curl your weather at cmdline with:

$ curl -s wttr.in/Melbourne?format="%l:%c+%C+%t/%f+%h+%w+%m+UV:%u/12+%P"
Melbourne:⛅️  Partly cloudy +15°C/+14°C 59% ↑31km/h 🌗 UV:3/12 1016hPa
$
$ curl -s wttr.in/New+York?format="%l:%c+%C+%t/%f+%h+%w+%m+UV:%u/12+%P"
New+York:☀️   Clear +1°C/-3°C 56% ↓15km/h 🌗 UV:1/12 1022hPa
$

PowerShell
#

PS> Invoke-RestMEthod 'https://wttr.in/New+York?format="%l:%c+%C+%t/%f+%h+%w+%m+UV:%u/12+%P"'
New+York:☀️   Clear +1°C/-3°C 56% 15km/h 🌗 UV:1/12 1022hPa
PS>

Related

MS Patch Tuesday
·307 words·2 mins
Blogger Essential cli patchtuesday python
To get vulnerability stats and updates for Patch Tuesday from MSRC.
Multipass
·659 words·4 mins
Blogger cli multipass
Orchestrates virtual Ubuntu instances with Multipass.
Infrastructure-as-Code (IaC)
·422 words·2 mins
Blogger 101 cloud iac devops gitops
How to move from Operations to GitOps?