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
Total toots: 100 (excluding replies & boosts) | |
Toots per day: 0.04 (account created 2648 days ago) | |
Ratio toots/replies: 16.67 | |
New followers per day: 0.10 | |
New followings per day: 0.08 | |
Likes per toot: 0.39 (total likes: 39) | |
Boosts per toot: 0.12 (total boosts: 12) | |
Replies per toot: 0.14 (total replies: 14) | |
┌──────────────────────────────┬──────────────┐ |
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 | |
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 | |
# spectacle and tesseract is required | |
#works with Wayland | |
spectacle -r -n -b -d 5000 -o "$HOME"/bin/text_erkennen.png | |
wait | |
tesseract -l deu "$HOME"/bin/text_erkennen.png "$HOME"/bin/text_erkennen | |
#eng | |
wait | |
text=$(cat "$HOME/bin/text_erkennen.txt") | |
#kate $text |
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
date=$(date);gist -d "Zwischenablage $date" -f test.txt <<<"$(qdbus org.kde.klipper /klipper getClipboardHistoryItem 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 | |
#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) |