Skip to content

Instantly share code, notes, and snippets.

View gbraad's full-sized avatar
🇳🇱
Working from home

Gerard Braad gbraad

🇳🇱
Working from home
View GitHub Profile
@gbraad
gbraad / README.md
Last active May 18, 2025 13:11
Compiling `crc` using a notebook

Compiling crc using a notebook

This is just an insightful gist that shows how I automate some tasks.

More information can be found in the repository gbraad-dotfiles/notebooks.

@gbraad
gbraad / README.md
Last active May 18, 2025 06:27
my environment

My environment using notebooks

@gbraad
gbraad / README.md
Last active April 20, 2025 10:31
Tailscale + RDP on GitHub Windows runners

Tailscale + RDP on GitHub Windows runners

Since tailscale/github-action#157 (comment) it should be possible to use a Windows runner with Tailscale. To test, I'll try to set up an RDP environment.

name: Window RDP
@gbraad
gbraad / README.md
Last active March 27, 2025 11:44
Test shared configuration
name: 'Shared Configuration'
description: 'Fetch configuration parameters from a shared .ini file and export as environment variables'
author: 'gbraad'
inputs:
  config_repo:
    description: 'URL of the repository containing the configuration file'
    required: true
  config_file:
    description: 'Path to the configuration file in the repository'

HTML support

<h1 align="center">HTML support</h1>

MarkDown with HTML support?

@gbraad
gbraad / README.md
Last active March 11, 2025 06:03
Multi-arch build with Podman using GitHub Actions

Multi-arch build with Podman using GitHub Actions

build-process.yml

name: build container - fedora-multi-arch
run-name: Building container - Fedora Multi-Arch

on:

Check for available port

port=8006;
while grep -q :${port} <<< $(ss -tunalp); do
  port=$(( port + 1 ))
done
echo "Using Port: ${port}"
# create storage for state
podman volume create tailscaled-state

# launch the container
podman run -d \
  --rm \
  --name tailscaled \
  --hostname $HOSTNAME \
 --env TS_USERSPACE=false \
@gbraad
gbraad / README.md
Created February 4, 2025 07:51
Update Dynamic DNS using SystemD timers (instead of cron-schedule)

Dynamic DNS update script using systemd

Here Free DNS is used as an example, but many service can be used in a similar way.

Create the following service and related timer: /etc/systemd/system/freedns-update.service

[Unit]
Description=Update service for Free DNS A record: systemd.strangled.net