Skip to content

Instantly share code, notes, and snippets.

View edmundlod's full-sized avatar

Edmund Lodewijks edmundlod

  • Port Elizabeth, South Africa
  • 18:32 (UTC +02:00)
View GitHub Profile
@edmundlod
edmundlod / cloudflare_tlsa_mailcow.sh
Created May 28, 2025 12:56 — forked from wardpieters/cloudflare_tlsa_mailcow.sh
Cloudflare TLSA update script for mailcow
#!/bin/bash
zone=domain.nl
dnsrecord=some-server.domain.nl
## Cloudflare authentication details
## keep these private
cloudflare_token="XXXXXX"
# get certificate hash
@edmundlod
edmundlod / dkim_rotation.sh
Created May 28, 2025 07:30 — forked from Frederick888/dkim_rotation.sh
Automatic DKIM key rotation with Cloudflare
#!/usr/bin/env bash
# Read https://www.linode.com/docs/email/postfix/configure-spf-and-dkim-in-postfix-on-debian-8 first!
# Run this script at the beginning of each month
# (Optional) Email notification if the script is interrupted
#function notify() {
# printf 'Refer to the logs for further info.\n' | mail -s 'DKIM rotation process was interrupted' '[email protected]'
#}
#
@edmundlod
edmundlod / private_fork.md
Created December 12, 2024 17:00 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@edmundlod
edmundlod / aurutils_inst_conf.md
Last active May 17, 2022 07:28 — forked from geosharma/aurutils_inst_conf.md
Arch Linux: aurutils installation and configuration

aurutils installation and configuration

This is not a getting started guide, just notes to myself. Due to my limited knowledge there could be mistakes and better ways to do things. I have configured aurutils to the best of my knowledge after reading the manpages and forums. Please refer to aurutils(7) manpages for installation and configuration.

Reference: aurutils(7)

Install aurutils

Install the aurutils using the normal AUR package installation procedure. Until I found aurutils, I used to create a separate directory ~/aur/ for all AUR packages.