Skip to content

Instantly share code, notes, and snippets.

@moonraker46
moonraker46 / scriptable_example.js
Created May 30, 2021 18:02
Scriptable Example
let lev = Device.batteryLevel().toFixed(2);
let out = String(lev + " %");
Script.setShortcutOutput(out);
Script.complete();
@moonraker46
moonraker46 / gist:7956d06b97979ce8a34538c503494331
Created April 15, 2022 05:24
OpenWRT config 1und1 Glasfaser (carrier Deutsche Telekom)
# /etc/config/network
# OpenWRT router (physical or virtual) is behind a Telekom Glasfaser Modem 2
config interface 'WAN'
option proto 'pppoe'
option ipv6 'auto'
option device 'eth1.7'
option username '1und1/[email protected]'
option password 'xxxxxxxx'
option metric '1'