Skip to content

Instantly share code, notes, and snippets.

View jesserockz's full-sized avatar

Jesse Hills jesserockz

  • Wellington, New Zealand
  • 02:47 (UTC +12:00)
View GitHub Profile
@jesserockz
jesserockz / README.md
Last active May 15, 2024 04:51
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

#!/usr/bin/env python3
import sys
ALPHABET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
def base35encode(number: int) -> str:
base35 = ""
@jesserockz
jesserockz / floorplan.yaml
Created February 10, 2021 19:14
My floorplan
.image-common: &image-common
action: none
hold_action:
action: none
tap_action:
action: none
type: image
.image-style: &image-style
top: 50%
@jesserockz
jesserockz / play_kitchen.yaml
Last active December 22, 2023 12:48
ESPHome Ikea Kitchen Microwave
substitutions:
devicename: play_kitchen
friendly_name: Play Kitchen
ip: '10.5.5.222'
wifi_reboot_timeout: 0s
########### PINS #########
# 3.3V 5V
# GPIO15 GROUND
# dht # GPIO13 GPIO2 LED / buzzer

Keybase proof

I hereby claim:

  • I am jesserockz on github.
  • I am jessehills (https://keybase.io/jessehills) on keybase.
  • I have a public key whose fingerprint is 412F 652C 7C61 1CE2 09E9 DBBE 48A8 AE89 BF6A 6B3A

To claim this, I am signing this object: