Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am justdave on github.
  • I am justdave (https://keybase.io/justdave) on keybase.
  • I have a public key ASBvYTwlJYuuEFdlU2bMajOVvhhLr73e1UgWJWGAjIJERgo

To claim this, I am signing this object:

@justdave
justdave / kickstucklocks.sh
Created March 3, 2018 10:31
Zimbra 8.8.5 seems to freeze up on me periodically. I wrote this script to automatically kick it when it happens to avoid getting calls from users at odd hours complaining that they couldn't check their mail.
#!/bin/bash
# Script to automatically restart mailboxd when IMAP mailboxes fail to lock
# (which usually indicates the server has hung)
#
# Configure MAILTO to match where you want the notification email sent.
#
# Prerequisite: You must install LogWarn, which can be found at
# https://github.com/archiecobbs/logwarn if your package manager doesn't have
# it.
@justdave
justdave / BPmyEvent2duesImport.pl
Created January 24, 2021 18:01
Script to generate separate dues import files for each legacy lodge for LodgeMaster. Download the "myEvent Data" report from Black Pug, and call it via `perl BPmyEvent2duesImport.pl myEventData.csv`
#!/usr/bin/perl
use Text::CSV;
## CONFIGURATION ##
my $max_dues_year = "2021";
## END CONFIGURATION ##