mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-17 02:01:01 +01:00
Added moon.ps1 and weather.ps1
This commit is contained in:
parent
8ab103677b
commit
e4224a91d9
10
Scripts/moon.ps1
Normal file
10
Scripts/moon.ps1
Normal file
@ -0,0 +1,10 @@
|
||||
#!/snap/bin/powershell
|
||||
#
|
||||
# Syntax: moon
|
||||
# Description: prints the current moon phase
|
||||
# Author: Markus Fleschutz
|
||||
# Source: github.com/fleschutz/PowerShell
|
||||
# License: CC0
|
||||
#
|
||||
(curl wttr.in/Moon -UserAgent "curl" ).Content
|
||||
exit 0
|
10
Scripts/weather.ps1
Normal file
10
Scripts/weather.ps1
Normal file
@ -0,0 +1,10 @@
|
||||
#!/snap/bin/powershell
|
||||
#
|
||||
# Syntax: weather
|
||||
# Description: prints the current weather forecast
|
||||
# Author: Markus Fleschutz
|
||||
# Source: github.com/fleschutz/PowerShell
|
||||
# License: CC0
|
||||
#
|
||||
(curl de.wttr.in/Berlin -UserAgent "curl" ).Content
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user