Skip to content

Instantly share code, notes, and snippets.

View kronenpj's full-sized avatar

Paul Kronenwetter kronenpj

View GitHub Profile
@kronenpj
kronenpj / 10-wancarp
Last active July 28, 2024 15:26
OpnSense 23.1 - 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("util.inc");
$subsystem = !empty($argv[1]) ? $argv[1] : '';
$type = !empty($argv[2]) ? $argv[2] : '';
@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"