Skip to content

Instantly share code, notes, and snippets.

@sgleske-ias
sgleske-ias / productivity_nag_workshop.md
Last active April 9, 2020 16:53
Sam Gleske's workshop on "I want my computer to productively yell at me".

Workshop: I want my computer to productively yell at me

This workshop is to collaborate set the team up on how to get your computer to yell at you... productively of coarse.

First time setup

You'll need to download all of the scripts used for productivity yelling. I have scripts for GitHub pull requests, Jenkins statuses, and just general yelling.

Add the following environment variables to your ~/.bash_profile configuration.

@sgleske-ias
sgleske-ias / download_and_verify.sh
Last active July 18, 2018 06:36
Run it: bash -x download_and_verify.sh
#!/bin/bash
#Mon Feb 26 13:01:50 PST 2018
#Darwin 16.7.0 x86_64
#GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin16)
#Download and verify a file's sha256sum
#Retry three times and then fail.
#Should check the sha256sum of the downloaded file before attempting to download.
#exit 0 on success else exit nonzero
#Usage:
/*
Copyright (c) 2015-2017 Sam Gleske - https://github.com/samrocketman/jenkins-script-console-scripts
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
@sgleske-ias
sgleske-ias / README.md
Last active September 27, 2020 17:54
Try out vault UI with a simple docker-compose file.

Try out vault-ui

Based on cault but a little more succinct.

This quick gist is to try out [vault-ui][vu]. High level steps include:

  1. Start containers.
  2. Initialize and unseal vault.
  3. Log into vault-ui via root token.