Skip to content

Instantly share code, notes, and snippets.

View maugsburger's full-sized avatar

Martha Augsburger maugsburger

View GitHub Profile
@maugsburger
maugsburger / uboot.sh
Last active February 1, 2019 14:30
mocking around to make it safer
test -n "${BOOT_ORDER}" || setenv BOOT_ORDER "A B"
test -n "${BOOT_A_LEFT}" || setenv BOOT_A_LEFT 3
test -n "${BOOT_B_LEFT}" || setenv BOOT_B_LEFT 3
setenv bootargs
for BOOT_SLOT in "${BOOT_ORDER}"; do
if test "x${bootargs}" != "x"; then
# skip remaining slots
elif test "x${BOOT_SLOT}" = "xA"; then
if test ${BOOT_A_LEFT} -gt 0; then
@maugsburger
maugsburger / duplyreport.pl
Last active November 30, 2016 19:29 — forked from DirkR/duplyreport.pl
dyplyreport.pl - a duply syslog wrapper. This script runs duply (a duplicity backup wrapper), filters all the bias and writes all important information into syslog.
#!/usr/bin/env perl
# vi: sw=4 ts=4 et
# (C) 2011 Dirk Ruediger <dirk@niebegeg.net>
# (C) 2013 Moritz Augsburger
# Feel free do hack or adopt it!
#
# A syslog wrapper for duply. It runs duply for multiple profiles,
# filers "bias" out and writes all important and unexpected messages to syslog.
#
# One mail for all profiles together is generated.
@maugsburger
maugsburger / fdump.pl
Created October 14, 2014 11:10
print twitter follower and friends
#!/usr/bin/perl
use warnings;
use strict;
use v5.10;
use Data::Dumper;
use Net::Twitter::Lite::WithAPIv1_1;
use Net::Twitter::Lite::Error;
use Storable qw/lock_retrieve lock_store/;
use Log::Log4perl qw/:easy/;

Keybase proof

I hereby claim:

  • I am maugsburger on github.
  • I am moemoe (https://keybase.io/moemoe) on keybase.
  • I have a public key whose fingerprint is 97C9 AFB9 EDC0 B98B 06A5 C076 79D1 6EE0 D5D9 9F0F

To claim this, I am signing this object: