Last active
November 5, 2025 11:52
-
-
Save dewomser/37bee8b04be32a985489ee65cbdadd30 to your computer and use it in GitHub Desktop.
Revisions
-
dewomser revised this gist
Sep 11, 2025 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #!/bin/bash # Es geht auch ohne Variable a t=$(curl -s https://wetter.hs-worms.de/api/v3/data | jq '.temperature.out') t1=15 if [[ $t < $t1 ]]; then echo "Uh, this is cold !"; else echo "Uff,rather warm !"; fi -
dewomser revised this gist
Oct 24, 2024 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ #!/bin/bash t=$(curl -s https://wetter.hs-worms.de/api/v3/data | jq '.temperature.out') t1=15 a=$(echo "$t<$t1"|bc) #testa failed =$(( t<t1 )) if [[ $a -eq 1 ]]; then echo "Uh, this is cold !" else -
dewomser revised this gist
Sep 3, 2024 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ #!/bin/bash t=$(curl -s https://wetter.hs-worms.de/api/v3/data | jq '.temperature.out') t1=15 # old school a=$(echo "$t<$t1"|bc) a=$(( t<t1 )) if [[ $a -eq 1 ]]; then echo "Uh, this is cold !" -
dewomser revised this gist
Sep 3, 2024 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,8 @@ #!/bin/bash t=$(curl -s https://wetter.hs-worms.de/api/v3/data | jq '.temperature.out') t1=15 # old schhol a=$(echo "$t<$t1"|bc) a=$(( t<t1 )) if [[ $a -eq 1 ]]; then echo "Uh, this is cold !" else -
dewomser created this gist
Aug 21, 2024 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ #!/bin/bash t=$(curl -s https://wetter.hs-worms.de/api/v3/data | jq '.temperature.out') t1=15 a=$(echo "$t<$t1"|bc) if [[ $a -eq 1 ]]; then echo "Uh, this is cold !" else echo "Uff,rather warm !" fi