Skip to content

Instantly share code, notes, and snippets.

View nethershaw's full-sized avatar
👿
I am not here for you.

Matt 'Archer' Vaughn nethershaw

👿
I am not here for you.
  • Buffalo, NY
View GitHub Profile
@nethershaw
nethershaw / keybase.md
Created July 5, 2019 22:14
Keybase proof

Keybase proof

I hereby claim:

  • I am nethershaw on github.
  • I am sagittariuslupus (https://keybase.io/sagittariuslupus) on keybase.
  • I have a public key whose fingerprint is B2F9 2B9C 5EFA 6801 5459 048E 7AF5 6C98 B318 F0BB

To claim this, I am signing this object:

@nethershaw
nethershaw / install-pcp.sh
Last active November 15, 2017 22:42 — forked from johanstenberg92/install-pcp.sh
Install Performance Co-Pilot on Amazon Linux AMI
#!/bin/sh
if [ "$(id -u)" != "0" ]; then
echo "Sorry, you are not root."
exit 1
fi
if !(type pcp 2>/dev/null;) then
yum -y install git bison flex gcc-c++ perl-Tk-devel libmicrohttpd-devel
git clone https://github.com/performancecopilot/pcp.git
@nethershaw
nethershaw / ackermann.scala
Created February 4, 2017 03:24
The Ackermann function (https://en.wikipedia.org/wiki/Ackermann_function) implemented in Scala.
class A(var m: Int, var n: Int)
object A {
def apply(m: Int, n: Int): Int =
if (m > 0 && n == 0) {
println(m, n)
A(m - 1, 1) }
else if (m > 0 && n > 0) {
println(m, n)
A(m - 1, A(m, n - 1))
}
@nethershaw
nethershaw / restart.sh
Created January 14, 2017 00:21 — forked from psyke83/restart.sh
openwrt wl-842n ag71xx workaround
#!/bin/sh
trigger="eth1: tx timeout"
if [ "$1" = "force" ]; then
lastbuffer=""
else
lastbuffer=$(dmesg | grep "$trigger" | tail -n1)
fi
while true; do
@nethershaw
nethershaw / openpgp.txt
Created May 29, 2016 05:44
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:b2f92b9c5efa68015459048e7af56c98b318f0bb]
@nethershaw
nethershaw / openpgp.txt
Created May 29, 2016 05:44
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:b2f92b9c5efa68015459048e7af56c98b318f0bb]
@nethershaw
nethershaw / openpgp.txt
Created May 8, 2016 19:22
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:b2f92b9c5efa68015459048e7af56c98b318f0bb]
@nethershaw
nethershaw / openpgp.txt
Created May 8, 2016 19:21
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:b2f92b9c5efa68015459048e7af56c98b318f0bb]