Skip to content

Instantly share code, notes, and snippets.

View housser's full-sized avatar

John Housser housser

  • North Vancouver, BC
View GitHub Profile
@housser
housser / README.md
Created November 14, 2024 20:19
Running pihole on Qnap NAS with Container Station

This is based on the application template that is in the Container Station, but uses the latest version of the pihole image.

diff --git a/og.module b/og.module
index 6f28205..a3aa3be 100755
--- a/og.module
+++ b/og.module
@@ -762,6 +762,12 @@ function og_form_group_reference_validate($form, &$form_state) {
if (!empty($form_state['values'][$field_name][LANGUAGE_NONE])) {
return;
}
+
+ // @TODO: Find out why the 'og_group_ref' field isn't getting maintained in the 'values' array by form_builder()
@housser
housser / remove-tags.sh
Created September 7, 2014 18:02
Remove Git tags based on regular expression, and remove from remote
#!/bin/bash
for i in $( git tag | grep ^6 ); do
#echo item: $i
git tag -d $i
git push origin :refs/tags/$i
done