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
sudo docker run --name gitmir -v $PWD:/usr/share/nginx/html:ro nginx |
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
Uptime Kuma running on the same machine in docker container. | |
Kuma Setup: | |
Settings - Setup Notification: | |
Notification Type: Webhook | |
Friendly Name: uptime_notif | |
Post URL: http://172.17.0.1:65000 | |
Request Body: Preset - application/json |
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 | |
# Script for converting Fedora (and maybe other dracut-based) LiveCD to LiveUSB | |
# with persistence. Only UEFI boot supported. Tested with Fedora 37. | |
# | |
# Usage: | |
# ./fedora_to_usb.sh path/to/mounted/livecd /dev/sdX | |
# | |
# Result USB partitioning: | |
# GPT, 2 partitions: | |
# - "EFI" (vfat 256MB) for GRUB and kernel |
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/with-contenv bash | |
CONFIG_DIR="/config" | |
if [ -z "$COREDNS_ZONE" ]; then | |
COREDNS_ZONE="wg.net" | |
fi | |
echo "**** CoreDNS hosts zone $COREDNS_ZONE ****" | |
echo "$COREDNS_ZONE {" > $CONFIG_DIR/coredns/hosts.conf |