Skip to content

Instantly share code, notes, and snippets.

View RaymondKroon's full-sized avatar
😃

Raymond RaymondKroon

😃
View GitHub Profile
@jesserockz
jesserockz / README.md
Last active December 4, 2025 20:32
Tailscale script for GL-iNet Beryl AX side switch

Tailscale script for GL-iNet Beryl AX side switch

This script allows you to toggle tailscale settings using the physical side switch on the GL-iNet Beryl AX.

To install:

  1. Copy the below file to /etc/gl-switch.d/tailscale.sh and replace the exit_node_ip value with your exit node ip address.
  2. Make sure to set the execute bit on the new file: chmod +x /etc/gl-switch.d/tailscale.sh
  3. Depending on version:

Parse the kubernetes manifest in yaml or json, don't care a manifest type.

Examples:

package main

import (
	"bytes"
	"context"