Skip to content

Instantly share code, notes, and snippets.

View rdgerken's full-sized avatar

Ryan Gerken rdgerken

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

@ixs
ixs / document.load_client_injection.js
Created September 5, 2019 10:23
userscript adding the document.load() function in order to make legacy webinterfaces such as the Avocent PM3000 webinterface work again.
// ==UserScript==
// @name document.load client injection
// @namespace http://tampermonkey.net/
// @version 0.1
// @description The Avocent PM1000/2000/3000 PDU runs an old JavaScript interface that relies on the XMLDocument.fetch() function that has been removed. Emulate this.
// @description inject the document.load implementation into real page context.
// @author Andreas Thienemann <[email protected]>, based on a script from [email protected], based on idea from [email protected]
// @match http://172.16.10.64/*
// @match http://172.16.10.65/*
// @run-at document-start