Skip to content

Instantly share code, notes, and snippets.

View dannykansas's full-sized avatar
✔️

Danny Fowler dannykansas

✔️
View GitHub Profile
@dannykansas
dannykansas / keybase.md
Created December 24, 2018 20:33
keybase.md

Keybase proof

I hereby claim:

  • I am dannykansas on github.
  • I am dannyincolor (https://keybase.io/dannyincolor) on keybase.
  • I have a public key ASDbgq4t7cN1bBlW697fdEl_igvk7g7NYchTAEDyeqbAvAo

To claim this, I am signing this object:

Tue Jun 5 22:22:14 UTC 2018
@dannykansas
dannykansas / exmachina-bluebook.py
Last active November 27, 2017 17:55
exmachina-bluebook.py
#!/bin/python
#
# Credit: "Ex Machina" film team
# See: https://i.imgur.com/C44iJeR.jpg
# -------------------------------
#BlueBook code decryption
import sys
@dannykansas
dannykansas / site.pp
Created November 4, 2014 22:24
nodeless site manifest
# nodeless site.pp
# the role is based on hostname
case $::hostname {
/web/: { $role = 'web' }
/app/: { $role = 'app' }
/db/: { $role = 'db' }
/work/: { $role = 'worker' }
default: { $role = 'default' }
}
# output of `tree -L 2`
├── auth.conf
├── environments
│   ├── prod
│   └── test
├── fileserver.conf
├── hiera.yaml
├── hieradata