Skip to content

Instantly share code, notes, and snippets.

View kronenpj's full-sized avatar

Paul Kronenwetter kronenpj

View GitHub Profile
@kronenpj
kronenpj / config.yaml
Last active November 27, 2025 21:18
Headplane Configuration
server:
host: "0.0.0.0"
port: 3000
cookie_secret: "abcdefghijklmnopqrstuvwxyz0123456"
cookie_secure: true
headscale:
url: "http://hs-container:8080"
public_url: "https://headscale.example.com/"
config_path: "/etc/headscale/config.yaml"
config_strict: true
@kronenpj
kronenpj / 10-wancarp
Last active November 15, 2025 17:49
OpnSense 25.7 - Disable WAN + OPT2 Interfaces during CARP Failover
#!/usr/local/bin/php
<?php
require_once("config.inc");
require_once("system.inc");
require_once("interfaces.inc");
require_once("interfaces.lib.inc");
require_once("util.inc");
$subsystem = !empty($argv[1]) ? $argv[1] : '';
@kronenpj
kronenpj / Main.xml.diff
Created January 8, 2011 23:51
Suggested change to font size...
diff --git a/res/layout/main.xml b/res/layout/main.xml
index 87a9ac0..bdd03fb 100644
--- a/res/layout/main.xml
+++ b/res/layout/main.xml
@@ -146,7 +146,7 @@
android:textStyle="bold" />
<TextView android:id="@+id/trafficTotal" android:textCol
android:layout_width="fill_parent" android:layou
- android:textSize="12sp"
+ android:textSize="24sp"