I hereby claim:
- I am derektamsen on github.
- I am derektamsen (https://keybase.io/derektamsen) on keybase.
- I have a public key ASDlibQfIGPinCmt7z97yYnI7C8oUdAxnwNxjGyMIbBqOwo
To claim this, I am signing this object:
#!/usr/bin/env python | |
# Call this script with a number after the script name and it will produce the nth position in the Fibonacci sequence. | |
# http://www.math.rutgers.edu/~erowland/fibonacci.html | |
# function fib(n) => return the nth number in fibonacci sequence | |
# 0, 1, 1, 2, 3, 5, 8 |
#!/usr/bin/env bash | |
# This script will connect to the rest api of the puppetca listed in your | |
# puppet config and update the local copy certificate revocation list. | |
# | |
# This is useful when you have distributed puppet masters fronted by | |
# a webserver and passenger. | |
# | |
# https://docs.puppetlabs.com/guides/rest_api.html#certificate-revocation-list | |
# https://ask.puppetlabs.com/question/3843/multiple-puppet-masters-with-single-ca-server/ |
#!/usr/bin/env bash | |
# test hiera parsing | |
sudo puppet apply -e "notice(hiera('<key_to_test>'))" --debug | grep hiera |
#!/usr/bin/env sh | |
checksslcert() { | |
echo "QUIT" | openssl s_client -servername ${1} -connect ${1}:${2:-443} | |
echo "QUIT" | openssl s_client -servername ${1} -connect ${1}:${2:-443} | openssl x509 -noout -dates | |
} |
#!/usr/bin/env sh | |
upper2lower () { | |
echo "${@}" | tr '[:upper:]' '[:lower:]' | |
} | |
lower2upper () { | |
echo "${@}" | tr '[:lower:]' '[:upper:]' | |
} |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1 | |
mQINBFZANQ8BEAC2PGiHlLWi2iCelMPjrVyIZ1onM1BslKU7vk8K1TD+qUbOF2d9 | |
VJQ2ssX4r1n4e9ZPI2XJ5U8IraQQ3+t7f3p2W8Pgm7dCLTwIXGaO/mn1d5s47CVJ | |
Ud9WG8jnHv3hKrg+Ty3cb69jXFo02WYEvLC314ptJtnM1mDagveh4HoCuQXbpk30 | |
GKaOVGU2rLnZP3ip+etOA2Wym2zCkMa9uCRhSeQeQ0YzAfKeRvVrfSjilpRR6v37 | |
el6i1XO6cp/Ugzie8mo3+UHGwvnKsf3nmtOJaejtbw8FpRI6JwH/dFLjSWlrMdIU | |
51mRq+naNdRkXlUGZmvHT3eOAqt+78+I1DbN55BYOuPDGtO55Oa/ma4/IVWDcc/v | |
9oKURLv6LAQyBFvC5J/++4UKyjenf2XCERGgqcDAYnCWoVXjOp5LCUCETlyIVEE/ |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# Save in `hooks/pre-commit` and `chmod +x hooks/pre-commit` | |
# source: http://stackoverflow.com/a/576261 | |
# | |
# Denies commits to tags with a pre-commit hook | |
REPOS="${1}" | |
TXN="${2}" | |
SVNLOOK='/usr/bin/svnlook' |
#!/usr/bin/env python | |
# Ubuntu Installation | |
# - Install the ubuntu yubico ppa: sudo add-apt-repository ppa:yubico/stable | |
# - Update your apt cache: sudo apt update | |
# - Install the package for ykcalresp: sudo apt install yubikey-personalization | |
# - Copy the secret key below the qr code. | |
# - Run the gist and enter the secret key when prompted. | |
import base64 |
param ($forceY = $false) | |
import-module pki | |
function promptContinue { | |
$input = Read-Host "Would you like to continue? (y/n)" | |
switch -regex ($input.ToLower()) { | |
'y(es)?' { return $true } | |
'n(o)?' { return $false } |