Skip to content

Instantly share code, notes, and snippets.

View lmickh's full-sized avatar
💭
Not outside

Lucas Harms lmickh

💭
Not outside
View GitHub Profile
@lmickh
lmickh / github-app-jwt.sh
Created November 18, 2021 20:51 — forked from carestad/github-app-jwt.sh
Script to generate JWT for use with Github apps
#!/usr/bin/env bash
# Generate JWT for Github App
#
# Inspired by implementation by Will Haley at:
# http://willhaley.com/blog/generate-jwt-with-bash/
# From:
# https://stackoverflow.com/questions/46657001/how-do-you-create-an-rs256-jwt-assertion-with-bash-shell-scripting
thisdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
@lmickh
lmickh / README.md
Created April 24, 2019 22:37 — forked from joelthompson/README.md
Vault Auth
@lmickh
lmickh / certdump.go
Created February 1, 2017 23:16 — forked from tam7t/certdump.go
certdump consul-template plugin for writing vault-generated certificates to separate files
package main
import (
"io/ioutil"
"log"
"os"
"os/user"
"strconv"
)
yum --enablerepo=rpmforge,epel,remi -y install gcc make zlib zlib-devel openssl-devel zsh
cd /usr/local
git clone git://github.com/sstephenson/rbenv.git rbenv
mkdir rbenv/shims rbenv/versions
chgrp -R groupname rbenv
chmod -R g+rwxXs rbenv
git clone git://github.com/sstephenson/ruby-build.git ruby-build
cd ruby-build
./install.sh