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 characters
| Klimadiagramm | |
| https://github.com/dewomser/Klimadiagramm | |
| ------------ | |
| diff --git a/klima2.png b/klima2.png | |
| new file mode 100644 | |
| index 0000000..561876a | |
| Binary files /dev/null and b/klima2.png differ |
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 characters
| #!/bin/bash | |
| #This script is useing "toot" ang "gist". Must be installed | |
| # Example Output https://gist.github.com/dewomser/a2a380f692d919e2f2f85ffb040ecc9b | |
| # Variables | |
| REPO_NAME="Hello_world" | |
| REPO_REMOTE_ROOT="https://github.com/foo" | |
| REPO_DIR="/home/fpp/git/$REPO_NAME" | |
| GIST_DESCRIPTION="Latest commit diff $REPO_NAME" | |
| GIST_FILENAME="diff.txt" | |
| MASTODON_MESSAGE="Check out the latest commit diff: $REPO_NAME" |
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 characters
| Klimadiagramm | |
| https://github.com/dewomser/Klimadiagramm | |
| ------------ | |
| diff --git a/klima.csv b/klima.csv | |
| index cd3fe2a..e69de29 100644 | |
| --- a/klima.csv | |
| +++ b/klima.csv | |
| @@ -1,115 +0,0 @@ | |
| -station_id,dataset,parameter,date,value,quality,station_id,dataset,parameter,date,value,quality | |
| -05692,climate_summary,temperature_air_mean_200,1896-01-01T00:00:00+00:00,282.88,5.0,05692,climate_summary,precipitation_height,1896-01-01T00:00:00+00:00,479.0,5.0 |
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 characters
| #!/bin/bash | |
| # make countdown | |
| espeak -v en-us -g60 -p75 -w countdown1.wav " 10 9 8 7 6 5 4 3 2 1 0"&& espeak -v en-us -w countdown2.wav "We have a lift off !" | |
| # make a list | |
| echo "file 'countdown1.wav'" > filelist.txt | |
| echo "file 'countdown2.wav'" >> filelist.txt | |
| # stitch together | |
| ffmpeg -f concat -safe 0 -i filelist.txt -c copy countdown.wav |
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 characters
| ############################################################################## | |
| # COLORS AND BACKGROUNDS | |
| ############################################################################## | |
| # note: \e or \x1B also work instead of \033 | |
| # Reset | |
| Color_Off='\033[0m' # Text Reset | |
| # Regular Colors | |
| Black='\033[0;30m' # Black | |
| Red='\033[0;31m' # Red |
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 characters
| #!/bin/bash | |
| # $GIST_TOKEN und mein_username muss angepasst werden ! | |
| datum="gitub_backup_$(date +%y_%m_%d_%H)" | |
| mkdir $HOME/$datum | |
| cd $HOME/$datum | |
| # die Curl-Zeile hann auch als 1-Zeiler benutzt weden. | |
| curl --header "Authorization: 'token' '$GIST_TOKEN'" -L "https://api.github.com/users/Dein_Username/repos?per_page=100&page=1" | jq '.[] .clone_url'|xargs -n1 -r git clone | |
| cd | |
| tar -czvf $datum.tar.gz $datum | |
| # rm -f -r $datum |
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 characters
| kturtle-script-v1.0 | |
| @(reset) | |
| @(gox) 300 | |
| @(goy) 350 | |
| @(forward) 200 | |
| @(turnleft) 45 | |
| @(forward) 141 | |
| @(turnleft) 90 |
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 characters
| #!/usr/bin/bash | |
| # KDE,spectacle and tesseract is required | |
| # spectacle After scanarea is open, press Enter. | |
| # works with Wayland | |
| # Look at your clpboard for scanned text | |
| tmpfile_png=$(mktemp /tmp/lolo.XXXXXXXXX --suffix .png) | |
| spectacle -r -n -b -d 5000 -o "$tmpfile_png" | |
| text="$(tesseract $tmpfile_png - -l deu)" |
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 characters
| #!/bin/bash | |
| #test | |
| #Copilot hat bei diesem Skript geholfen | |
| # Generiere sechs zufällige Zahlen im Bereich von 1 bis 49 | |
| lotto_numbers=$(shuf -i 1-49 -n 6) | |
| # Sortiere die Zahlen der Reihe nach | |
| sorted_numbers=$(echo $lotto_numbers | tr ' ' '\n' | sort -n) |