mirror of
https://codeberg.org/lethe/mayvaneday-mu
synced 2025-08-17 22:17:31 +02:00
2024-01-04
This commit is contained in:
commit
346439abff
101 changed files with 4457 additions and 0 deletions
11
weather.sh
Executable file
11
weather.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Your ZIP code : \`B444\`<username\`94107>\`b"
|
||||
echo " \`!\`[submit\`:/page/weather.sh\`username|two]\`!."
|
||||
if [ "$field_username" = "" ]; then
|
||||
echo "No zip code input yet: defaulting to '94107'..."
|
||||
echo " "
|
||||
curl -s https://wttr.in/94107?TFn
|
||||
else
|
||||
curl -s https://wttr.in/$field_username?TFn
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue