Skip to content

Instantly share code, notes, and snippets.

View kronenpj's full-sized avatar

Paul Kronenwetter kronenpj

View GitHub Profile
@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"
@kronenpj
kronenpj / 10-wancarp
Last active October 20, 2024 18:20
OpnSense 24.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] : '';