Skip to content

Instantly share code, notes, and snippets.

r20.rs6.net
www.shareaholic.com
*.github.io

Keybase proof

I hereby claim:

  • I am alexcote1 on github.
  • I am aleccoder (https://keybase.io/aleccoder) on keybase.
  • I have a public key ASCLQ2Dx5PJpGncw9B9bBBxF1-ZbrHBkpMvyJ6djaO4-Jgo

To claim this, I am signing this object:

for blah in `rbd ls $1`
do
rbd snap unprotect $1/$blah@snap
rbd snap purge $1/$blah
rbd rm $1/$blah
done
@alexcote1
alexcote1 / httping.sh
Last active October 9, 2019 20:03
httping.sh
#/bin/bash
if [ $# -eq 0 ]
then
echo "please supply an ip"
echo "example- ./httping.sh 1.0.0.1 10"
exit
fi
if [ $# -eq 1 ]
then
echo "pinging $1"
@alexcote1
alexcote1 / gitkey.sh
Created December 3, 2018 17:33
gitkey
#/bin/sh
#takes an argument of a single username and puts there key in ~/.ssh/authorized_keys
mkdir ~/.ssh 2> /dev/null
curl https://github.com/$1.keys>> ~/.ssh/authorized_keys
@alexcote1
alexcote1 / openpgp.txt
Created November 20, 2018 00:46
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:771056b2d1d5c6c1104336c728c23059b8de0437]