Skip to content

Instantly share code, notes, and snippets.

View fozzmoo's full-sized avatar

Doran Barton fozzmoo

  • Bluehost
  • Orem., UT
View GitHub Profile
PKG=/tmp/simplepackage-1.0-1.fc26.noarch.rpm
cp ~/work/RPM-Sign/resource/simplepackage-1.0-1.fc26.noarch.rpm $PKG
GPG_PATH=`mktemp -d`
chmod 700 $GPG_PATH
GPG="gpg --homedir $GPG_PATH"
GPG2="gpg2 --homedir $GPG_PATH"
GPG_KEYPARAMS=`mktemp`
@fozzmoo
fozzmoo / keybase.md
Last active September 6, 2016 15:42

Keybase proof

I hereby claim:

  • I am fozzmoo on github.
  • I am fozz (https://keybase.io/fozz) on keybase.
  • I have a public key whose fingerprint is 3DB6 0BA8 1BF7 3F60 F33F 0C0C 7D2C ED99 B833 AF41

To claim this, I am signing this object:

@fozzmoo
fozzmoo / sort_blist.pl
Created November 2, 2012 16:57
Sorts Pidgin buddy list
use XML::TreePP;
my $tpp = XML::TreePP->new;
my $ref = $tpp->parsefile('blist.xml');
$ref->{purple}->{blist}->{group} =
[ sort { $a->{'-name'} cmp $b->{'-name'} }
@{$ref->{purple}->{blist}->{group}}
];