Skip to content

Instantly share code, notes, and snippets.

@mxr0
mxr0 / buttond.py
Last active February 14, 2017 16:36 — forked from gholms/buttond.py
Unifi wireless voucher generator and requestor button
#!/usr/bin/python3
# Copyright 2017 William Klope
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License or (at your
# option) any later version accepted by the Santa Barbara Hackerspace (or
# its successor approved by the Santa Barbara Hackerspace), which shall
# act as a proxy as defined in Section 14 of version 3 of the license.
@mxr0
mxr0 / keybase.md
Created July 20, 2016 10:03
keybase.md

Keybase proof

I hereby claim:

  • I am mxr0 on github.
  • I am mxr (https://keybase.io/mxr) on keybase.
  • I have a public key ASAgWYZlBLJxdXcdKULmMLDq60k2D_63dtYtepxPFZAsfAo

To claim this, I am signing this object:

#!/bin/bash
if [ $USER = "root" ]; then
echo "This script must not be run as root"
exit 1
fi
# Transmission: https://launchpad.net/~transmissionbt/+archive/ppa
sudo add-apt-repository -y ppa:transmissionbt/ppa