Skip to content

Instantly share code, notes, and snippets.

@techdad
techdad / dan_wonka_keys.pub
Last active May 28, 2022 21:51
dan@wonka
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6EY9QdFLsvmMtVXM32HPFiU5RnzVCcyCawfgSWczFql3nx9ubhBTK4IjWdsUZKlBaakfNEkEyVodv70nNi0nGpTxU/lBCvE6Z2simS1+BaCrSAS1Fa8JWFaUm0wRFdOb7zMSYQUXcbXUReG1Y/nu6I7otArhaN+1IG0qsipBnWx5QP3rtvQ1hY7ZnfDcKgDx5quq1HCnm1EM8NeuGUFubdNDmfgFyut6T8GFYe80C+H2looIG24M6oii55Roh+YHY6pzKUajks+jShI+ewLdtf7oW608Pj9V0GKCtCWhgC53L2eELjmtbCN5QixL9UGb0uwwXw1p2prjk/4O5/+3r [email protected]
ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAB8okGQrWHZCzztl00Fj1MCgvuO2y4OLs5b7HcZQN3ikCBly3VmqfTxPk5guHRQX/3hjsXpXmNdVirNLGSnXsxAlAG1wbQUx1uTbOxR/E5iNiWZpvffbVW+x2NAFrN7WjKyhOgrVKRyA0nlVp0un5olK17zwog2DJAaRPMXjvfirZaOgg== [email protected]
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAq0ljGFeipV9sHTp5NS8EKf0+5x2wPLlgkSld3gpFA4FK2igGPufjl1i8SGhZoPtiFZ7r2BkPWV2A4HU7EPsYBQBSZRRag8FKBRnhqVWleneVmWrHQ7Grm1PoyJud5eKaUYVvWpBhTApGrOuGrQ6QsY25T/6JA9QpUo7u9ejVX30zhKrzzM5zi9TWxqXO48MBJ4ys0/gAJY2yNkW3NtwxwCPiWThjfHF70YZUzCgOzq8nC5K4GYwU9UWuAYudhBEQMi6FUWqRvoKq0sSbr3o1MPif16xmSlcAd4zHmXZ046IeG5eCtBZhQuBELAOSsZtmeHqXaGzfQH/ULzOKU5+i2yrG9VUEfrPokOD/NqAZsLfgY1C0k3vXFVD3fwYeGY+krGs6eluFaVa51m5mS8v+cvWGkTzWFhy/LVj4P/bvFOBNvVZhtMsS5PsrUozQxJFK11NY4xP7++SW9FMWrD6TRD2Wyy7Lf4EgC6V/hwY/e5unKp/cuPSXokRTQABtB+wV9mrLNubNj4oH++b64MQg5ch7ETyZkTIdEfsCjslD8srbHRtu+y213xVloKyl66kiiMSPci2TjFEhZqWV5a5Pr+427cbU2poydlhgU3XZQKip4/4TDTfUV7yrsmgPdbC0vTcR2Rjr3EcSTs2Q6jBk9ILx6kJelMyQnJE6/w/Fku0= [email protected]
ecdsa-sha2-nistp521 AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAAy6UBP+g0PrHaAjjSqS+BSj1oqk5o2NaHuDO1hvSDiYOfhRCm5l0QSUucw3RFHHmqAjsQZshIC7euv4qcXRJ2VCgF6M3aEiWsGHLJESGQ8Zi1jRXkE7InblaE0V6685zaZit0u4UPn82k+GRQkwEkvWNuHUfgJKgNsr3rUrjVbP/bZeA== [email protected]
@techdad
techdad / dsshw88e9fe885125_key
Last active May 11, 2019 20:16
dsshw@88e9fe885125 RSA SSH
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtaFHZYnqsicFCOkboN6nL7Uyet/O9N07Uq009kTq334Uzga1blM6pOwjsNflWWqmYwCGWsMYoA6BGJGP0YMm1ggIlQneA5jMxDBi0i6MsJNM41w7zzaSTyFR2gpNQpenVYqN9rZoOtbI3USVNhrmlls+CHeg85K8fpmdXcvTz9F7mxJlpC1KGaEFy6D+MLtwC4hnBZ7KWjaX0EZMx5RacTH9YgipHLMUcVKWkIhOLMRcIvN+qDeFIQFUS5IzmSqfhp8S5CRuZr2Eq0lzTDuZ6+2czjJwKn4IE7INnrTltFjqC+wd5K8a6eC3d1gBHhXMwWHG+QtJ/l2UMzI+VOOB9 dsshw@88e9fe885125
@techdad
techdad / keybase.md
Created April 9, 2019 21:28
keybase.md

Keybase proof

I hereby claim:

  • I am techdad on github.
  • I am danielshaw (https://keybase.io/danielshaw) on keybase.
  • I have a public key ASB_67m3wA4rPQO29KSF7NnH2syGEYxSt4BdmXi7TUwuowo

To claim this, I am signing this object:

@techdad
techdad / cardno000606947123_key
Last active May 11, 2019 20:16
Yubikey GPG SSH Key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEsDdiVIwjJcwMES50jpOzx+P2IUE3e5RZhF5sfGwW92VUcmwiBd1qXYkFMH6rrwkrWgZUrUFW5DPJbT2gTglqOvzpYx7jCtC/9cnNv/hFXZ4y5+bRS3OKbvME3M/D8lC0+qzZo2y6qQ6x57SmIo7lDABwsSzI3zmP/vJRelsdnTZqFwpoL5049k5uLVsnL7GXqKpwdXvLhuoJ3bS2q6B+XHwnj6aGZg95kYUh1GpK+ZQpDeOQO4b3sTXaLJiiVv/HgPwSJUADZNwvj/54LPgzCkQ9RJ+EFI6DN7GcfqvGguwdkB8cLntoctcIiQBA5TsFG+OiO3E4vWQ4/+NJl8/t cardno:000606947123
@techdad
techdad / ns-origin.sh
Created February 22, 2018 13:45
Get the origin ASN(s) for the name-server set for a domain using dig and the Cymru Origin-AS WHOIS service.
#!/usr/bin/env bash
if [[ -z $1 ]]; then
echo "Usage: $0 {domain}"
exit 1
fi
DOMAIN="$1"
SERVER="whois.cymru.com"
PORT="43"

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets

@techdad
techdad / tsig-gen-v2.sh
Created March 30, 2017 16:44
TSIG (or nsupdate) key generation, take two (improved)
#!/usr/bin/env bash
# quick and dirty TSIG generation script
# version 2
# mostly taken directly from https://github.com/Neilpang/acme.sh/tree/master/dnsapi
# (with a sprinkle of added command-line switching)
# define key params
size="512"
algo="hmac-sha$size"
@techdad
techdad / range2cidr.pl
Created October 19, 2016 07:55
Quick and dirty IP address range to CIDR converting script
#!/usr/bin/env perl
# Quick and dirty perl to take start and end IP addresses
# (either ipv4 or ipv6), and convert the range between them
# into aggregated CIDR notation.
# The magic is the Net::CIDR CPAN module.
# Reference: http://search.cpan.org/~mrsam/Net-CIDR/CIDR.pm
## Daniel Shaw <[email protected]> - October 2016
@techdad
techdad / gen-tsig-v1.sh
Last active March 30, 2017 16:26
gen-tsig.sh
#!/usr/bin/env bash
# quick and dirty TSIG generation script
# define key params
algo="hmac-sha512"
size="512"
# get key name
if [[ -z $1 ]]; then
echo "Error: Usage: $0 <key-name>"