This file contains 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/env python3 | |
#....ported to python3 02/2020 | |
# ....bulkmail.py: send bulk email to recipients in RecListFileName | |
# ....Werner Joss, 2017,2018,2020 | |
# ....License: GPL | |
# ....Message is from MsgFileName, preceeded by 'Hallo <Name>,\n' | |
# ....RecListFileName must contain one Recipient per line in the form 'Vorname Name <email>' note: surrounding <> for email Adress is required ! | |
# ....Default Subject may be overridden in MsgFile (line starting with 'Subject:' | |
# ....this can send messages with utf-8 encoding, not just ascii (as bulkmail_asc.py) 30.04.17 |
This file contains 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 | |
# Display User's Calendar URLs on a CalDav Server | |
# derived from: | |
# https://blog.sleeplessbeastie.eu/2018/06/18/how-to-display-upcoming-events-in-nextcloud-calendar-using-shell-script/ | |
# needs curl and xmlstarlet to be installed | |
# CalDav server and path | |
dav_server="https://cloud.example.org" | |
dav_path="/remote.php/dav/" |
This file contains 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 | |
# toggle wireguard interface status, if connected: disconnect, and vice versa | |
# wernerjoss 11.11.23 | |
wgclient="orion" # default | |
while getopts ":c:v:" opt; do | |
case $opt in | |
c) | |
wgclient="$OPTARG" |