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 April 30, 2025 12:06
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, copy the below file to /etc/gl-switch.d/tailscale.sh and replace the exit_node_ip value with your exit node ip address.

Then go to System -> Toggle Button Settings and choose Tailscale (On/Off) in the dropdown and Apply

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

Examples:

package main

import (
	"bytes"
	"context"