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 | |
| myAddrApiKey="b3******f4" | |
| myAddrUrl="marco79.myaddr.io" | |
| ntfyUrl="https://ntfy.sh/****" | |
| if ! currentDynDns=$(dig +time=5 +tries=6 +short $myAddrUrl @86.54.11.100); then | |
| echo "Problem: dig network error or timeout." | |
| exit 1 | |
| fi | |
| echo "myaddr ip: $currentDynDns" |
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 | |
| myAddrUrl="REPLACE.myaddr.io" | |
| # max 6 tries every 5 seconds (if connection is currently offline) | |
| if ! currentDynDns=$(dig +time=5 +tries=6 +short $myAddrUrl @86.54.11.100); then | |
| echo "Problem: dig network error or timeout." | |
| exit 1 | |
| fi | |
| # check if ip syntax is correct |
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 | |
| # insert your myaddr data and ntfy push topic | |
| myAddrApiKey="***" | |
| myAddrUrl="replace-me.myaddr.io" | |
| ntfyUrl="https://ntfy.sh/***" | |
| publicDnsResolver="86.54.11.100" # use DNS4EU | |
| # function to validate IPv4 address (format + range) | |
| is_ipv4() { | |
| local ip="$1" |
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 | |
| # teddyCloud ip address | |
| teddycloud_ip=192.168.178.127 | |
| # query podcast feed | |
| feed_content=$(curl -s "https://www.bitsundso.de/feed/") | |
| # get latest episode | |
| latest_feed_episode=$(echo "$feed_content" | sed -n -e '/<item>/,$p' | sed -n 's:.*<title>\(.*\)</title>.*:\1:p' | head -1 | sed 's/#/Folge /g') |
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
| certs_path="/teddycloud/certs" | |
| echo "-----------------------------------" | |
| echo "Checking teddyCloud certificates..." | |
| echo "-----------------------------------" | |
| # check server certificates | |
| files=( "ca.der" "ca-key.pem" "ca-root.pem" "ca-root.srl" "teddy-cert.pem" "teddy-key.csr" "teddy-key.pem" ) | |
| echo -e "\nServer:" | |
| echo "-------" | |
| for file in "${files[@]}" |
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
| // ==UserScript== | |
| // @name youtube-cobalt-tools | |
| // @version 1.00 | |
| // @description A script that adds a button to YouTube which opens the video link in cobalt-tools (for downloading or extracting audio) | |
| // @match *://*.youtube.com/* | |
| // @exclude *://accounts.youtube.com/* | |
| // @exclude *://www.youtube.com/live_chat_replay* | |
| // @exclude *://www.youtube.com/persist_identity* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=YouTube.com | |
| // @grant none |
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 | |
| docker stop wg-easy | |
| docker rm wg-easy | |
| docker pull ghcr.io/wg-easy/wg-easy | |
| /home/pi/wg-easy/wg-easy-start.sh |
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
| Umgezogen, jetzt hier zu finden: | |
| https://github.com/marco79cgn/ard-plus-dl |
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
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: orange; icon-glyph: volume-up; | |
| // name: radioeins-widget.js | |
| // description: A scriptable widget which displays the program and recent songs of radioeins vom rbb | |
| // author: Marco Dengel | |
| // email: marco79cgn@gmail.com | |
| // Insert your Spotify credentials here! |
NewerOlder