Skip to content

Instantly share code, notes, and snippets.

{"log":"2017/06/01 21:34:31 token request from 10.125.72.65:49962\n","stream":"stderr","time":"2017-06-01T21:34:31.505194327Z"}
{"log":"2017/06/01 21:34:34 error creating wrapped token for pod (vault-example-2275320261-p2kw3)\n","stream":"stderr","time":"2017-06-01T21:34:34.05660751Z"}
{"log":"2017/06/01 21:34:39 token request from 10.125.72.65:49962\n","stream":"stderr","time":"2017-06-01T21:34:39.057661102Z"}
{"log":"2017/06/01 21:34:41 error creating wrapped token for pod (vault-example-2275320261-p2kw3)\n","stream":"stderr","time":"2017-06-01T21:34:41.746754557Z"}
{"log":"2017/06/01 21:34:46 token request from 10.125.72.65:49962\n","stream":"stderr","time":"2017-06-01T21:34:46.747635166Z"}
{"log":"2017/06/01 21:34:49 error creating wrapped token for pod (vault-example-2275320261-p2kw3)\n","stream":"stderr","time":"2017-06-01T21:34:49.008887561Z"}
{"log":"2017/06/01 21:34:54 token request from 10.125.72.65:49962\n","stream":"stderr","time":"2017-06-01T21:34:54.009917726Z"}
{"log":"2017/06/01 21:34:57 error
@gamefiend
gamefiend / colors.sh
Created January 1, 2017 18:06
Color shortcuts file
txtblk='\e[0;30m' # Black - Regular
txtred='\e[0;31m' # Red
txtgrn='\e[0;32m' # Green
txtylw='\e[0;33m' # Yellow
txtblu='\e[0;34m' # Blue
txtpur='\e[0;35m' # Purple
txtcyn='\e[0;36m' # Cyan
txtwht='\e[0;37m' # White
bldblk='\e[1;30m' # Black - Bold
@gamefiend
gamefiend / .bashrc
Created November 17, 2016 17:51
Display current git branch in your prompt....
#include this function in the bashrc
function parse_git_branch {
ref=$(/usr/bin/git symbolic-ref HEAD 2> /dev/null)
if [ -z $ref ]; then
echo "| - |"
else
echo "|"${ref#refs/heads/}"|"
fi
}

Keybase proof

I hereby claim:

  • I am gamefiend on github.
  • I am quinnmurphy (https://keybase.io/quinnmurphy) on keybase.
  • I have a public key whose fingerprint is 27BF B1D8 E2AA 8D26 7971 D7CE 9790 DEE2 1971 D721

To claim this, I am signing this object:

@gamefiend
gamefiend / howdoi_loop.sh
Last active May 25, 2016 11:04
Howdoi "shell" -- make a looping program for making howdoi searches. Really handy as a right-hand pane in terminal-based coding environment.
#!/bin/bash
# assumes that you have the program howdoi -- if you don't, grab it from
# makes a mini-looping "shell" for using 'howdoi' in another pane, tab, or window
LANGUAGE='python'
clear
echo "Python HOWDOI"
echo "[ Ctl+C ] to exit"
while :
do
read -p $'\e[1;31mHOWDOI...\e[0m ' input
@gamefiend
gamefiend / kts.sh
Created March 18, 2014 18:42
kill all tmux sessions
tmux ls | awk {print $1} | cut -d: -f1 | xargs -I{} tmux kill-session -t {}
@gamefiend
gamefiend / puppet-ubuntu
Last active January 3, 2016 06:29
Get up to date puppet labs repo for ubuntu
# Grab the latest packages for puppet on a new system.
# curl https://gist.github.com/gamefiend/8422716/raw/ca235abc5812bf0fec3091f8464a2d62b84e37ec/puppet-ubuntu | /bin/bash
wget https://apt.puppetlabs.com/puppetlabs-release-precise.deb
dpkg -i puppetlabs-release-precise.deb
apt-get update -y
apt-get install puppet -y
@gamefiend
gamefiend / make-bundle.sh
Last active December 10, 2015 07:18
example utilities and files to help with openvpn configuration
#!/bin/bash
OVPN_HOME="/etc/openvpn/easy-rsa"
BUNDLE="/tmp/$1"
DEFAULT_EMAIL="youraddress@somplace.com"
echo "Creating a bundle"
mkdir $BUNDLE
cp -f $OVPN_HOME/client.ovpn $BUNDLE/$1.ovpn
@gamefiend
gamefiend / ventrilo
Created June 28, 2012 19:27
Ventrilo LSB init script
!/bin/sh
########################################################################
# Ventrilo start script
# LSB style init script -- assumes you have LSB package installed
# running on CentOS/RHEL 6
# Description : This is an LSB-style startup script for Ventrilo
#
# Authors : Quinn Murphy
#
# Version : 1.0
@gamefiend
gamefiend / dancer
Created May 7, 2012 22:55
Dotfiles
# Dancer aliases to make life easier