1.) jpg2gif mit ImageMagic
convert -resize 640x480 -delay 20 -loop 0 *.jpg myimage.gif
2.) mkv2gif
ffmpeg -i meisencam_06-20250113095337.mkv -r 10 kraehe.gif
#!/bin/bash | |
# Dieses Skript ist Shellcheck-geprüft | |
# | |
most_recent_file="$(curl -s https://opendata.dwd.de/climate_environment/health/forecasts/air_quality/ | tail -n 3 | head -n 1)" | |
#echo "${most_recent_file:9:26}" | |
curl -o lq_forecast.csv https://opendata.dwd.de/climate_environment/health/forecasts/air_quality/"${most_recent_file:9:26}" | |
# Daten für die Station 'DERP023' extrahieren | |
echo "$(<lq_forecast.csv)" | grep -E ^\'DERP023\|^Station>derp023_data.csv | |
cut -f7- -d';' derp023_data.csv |tr -d h| tr -d + > data.csv |
#!/bin/bash | |
URL="blog.fefe.de" # Ersetze mit der gewünschten Domain | |
echo "Prüfe das SSL-Zertifikat für $URL ..." | |
# SSL-Prüfung mit OpenSSL | |
CERT_INFO=$(echo | openssl s_client -connect "$URL:443" -servername "$URL" 2>/dev/null | openssl x509 -noout -dates) | |
if [[ -z "$CERT_INFO" ]]; then |
#!/bin/bash | |
URL="https:/blog.fefe.de" # Ersetze mit der gewünschten URL | |
HASH_FILE="hash.txt" | |
# Lade den HTML-Inhalt der Webseite und berechne den SHA256-Hash | |
CURRENT_HASH=$(curl -s "$URL" | sha256sum | awk '{print $1}') | |
# Prüfe, ob eine vorherige Hash-Datei existiert | |
if [ -f "$HASH_FILE" ]; then |
#!/bin/bash | |
URL="https://blog.fefe.de" # Ersetze dies mit der gewünschten URL | |
FILE="webpage_snapshot.html" | |
stempel=$(date) | |
toot_text="Dieses Script führt täglich eine Stausabfrage durch. Da muss nicht jeder selbst klicken \n" | |
# Webseite abrufen | |
curl -s "$URL" > "new_snapshot.html" |
#!/bin/bash | |
URL="https://blog.fefe.de" # Ersetze mit der gewünschten URL | |
TIMESTAMP_FILE="timestamp.txt" | |
# Abrufe die aktuelle Zeitstempel-Information der Webseite | |
CURRENT_TIMESTAMP=$(curl -sI "$URL" | grep -i "Last-Modified" | awk '{print $2, $3, $4, $5, $6}') | |
# Prüfe, ob eine vorherige Zeitstempel-Datei existiert | |
if [ -f "$TIMESTAMP_FILE" ]; then |
<!DOCTYPE html> | |
<!-- Created by pdf2htmlEX (https://github.com/pdf2htmlEX/pdf2htmlEX) --> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8"/> | |
<meta name="generator" content="pdf2htmlEX"/> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> | |
<style type="text/css"> | |
/*! |
#!/bin/bash | |
lz="$(curl -s http://www.ergebnisse.westlotto.de/gewinnzahlen/lottozahlen.rss | grep \<title\>vom)" | |
echo "${lz:10:-8}" | |
# vom 23.04.25: 5, 7, 11, 13, 21, 38 S: 1 |
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 |
#!/bin/bash | |
#This script is useing "toot" ang "gist". Must be installed | |
# 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" |