dominic / CNAME mass creation (Hetzner Console)
0 likes
0 forks
2 files
Last active 2 weeks ago
Creates a mass of listed names CNAME records on Hetzner DNS Cloud.
| 1 | #!/bin/sh |
| 2 | |
| 3 | HETZNER_API_TOKEN="" |
| 4 | CNAME_TARGET="basedomain.local." |
| 5 | ZONEID="basedomain.local" |
| 6 | |
| 7 | for SUBDOMAIN [it-tools kamera host3 host4 ...] |
| 8 | do |
| 9 | curl \ |
| 10 | -X POST \ |
dominic / savemail.sh
0 likes
0 forks
3 files
Last active 2 weeks ago
Save incoming emails as plain text (with stripped headers) or place attached files in subdirectories.
| 1 | #!/bin/sh |
| 2 | # |
| 3 | # Saves an incoming email as plain text file (or .eml) |
| 4 | # somewhere in the webservers directories |
| 5 | # |
| 6 | # Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com> |
| 7 | # Lastmod: 2025-02-23 07:17 |
| 8 | # License: MIT |
| 9 | |
| 10 | date=`date +%Y%m%d-%H%M%S` |
dominic / Urlwatch (QRZdiff)
0 likes
0 forks
2 files
Last active 2 weeks ago
Not sure where I found this script (qrzdiff.sh) - but I use it in conjunction with urlwatch
| 1 | diff_tool: /home/dominic/bin/qrzdiff.sh |
| 2 | kind: url |
| 3 | url: https://www.qrz.com/db/OE7DRT |
dominic / WeeWX Weathercam scripts
0 likes
0 forks
6 files
Last active 2 weeks ago
The scripts that I use for the timelapse video shown at my weather website. Including systemd unit files to be placed in the systemd user directory ($HOME/.config/systemd/user)
| 1 | [Unit] |
| 2 | Description="Update actual wxcam image" |
| 3 | |
| 4 | [Timer] |
| 5 | OnBootSec=20sec |
| 6 | OnUnitActiveSec=2min |
| 7 | Unit=wxcam-update.service |
| 8 | |
| 9 | [Install] |
| 10 | WantedBy=default.target |
dominic / Dynamic DNS Update (Hetzner Console)
0 likes
0 forks
1 files
Last active 2 days ago
Lookup current IPv4 and IPv6 addresses and updates them on Hetzner DNS if they changed. Saves current IP addresses in `$HOME/.my-ipv4` and `$HOME/.my-ipv6`
| 1 | #!/bin/sh |
| 2 | # Created on 2025-12-07 12:22 UTC |
| 3 | # Author: Dominic Reich (OE7DRT) <quick.hat4396@qtztsjosmprqmgtunjyf.com> |
| 4 | # |
| 5 | # Removed IPv6 as this way does not get the real IPv6 address (why?) |
| 6 | # 2025-12-24 |
| 7 | |
| 8 | # Get my outgoing ipv4 address via ifconfig.me and compare it with the recent ip saved in ~/.my-ipv4 |
| 9 | # Update dns with the actual ipv4 if it changed |
dominic / Pat Winlink
0 likes
0 forks
4 files
Last active 11 months ago
My current setup when using Pat with qutebrowser and the VARA tools
| 1 | #!/usr/bin/sh |
| 2 | # Start Winlink Express via Wine |
| 3 | # lastmod: 2025-01-23T23:27:51+0100 |
| 4 | # |
| 5 | # Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com> |
| 6 | |
| 7 | # Check if we are on the "Winlink screen" |
| 8 | workspaces=$(i3-msg -t get_workspaces) |
| 9 | |
| 10 | if [[ "${workspaces}" != *" 0:Winlink "* ]]; then |
dominic / RMS Express via wine on Linux
0 likes
0 forks
2 files
Last active 11 months ago
My current setup, see the ›Pat Winlink‹ gist for enhanced i3config (including terminals for alsamixer and rigctld)
| 1 | # some default settings |
| 2 | set $ws0 " 0:Winlink " |
| 3 | bindsym $mod+0 workspace $ws0 |
| 4 | bindsym $mod+Ctrl+0 move container to workspace $ws0 |
| 5 | bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0 |
| 6 | |
| 7 | # Winlink |
| 8 | for_window [class="rms express.exe"] floating enable, border normal |
| 9 | for_window [class="notepad.exe"] floating enable, border normal |
| 10 | for_window [title="Winlink Session"] floating enable, border normal, resize set 900 500, move absolute position 1120 30 |
Newer
Older