Skip to content

Instantly share code, notes, and snippets.

Avatar

Joakim Ahrlin jahrlin

  • Stockholm, Sweden
View GitHub Profile
@jahrlin
jahrlin / get_vault_root_token.sh
Created Nov 28, 2017
get vault dev mode root token via script with awk
View get_vault_root_token.sh
journalctl -xeu vault | awk '$0 ~ /Root Token:/ { print "Vault Root Token: " $NF }'
@jahrlin
jahrlin / get_vault_unseal_key.sh
Last active Nov 28, 2017
get vault dev mode unseal key via script with awk
View get_vault_unseal_key.sh
journalctl -xeu vault | awk '$0 ~ /Unseal Key:/ { print "Vault Unseal Key: " $NF }'
View keybase.md

Keybase proof

I hereby claim:

  • I am jahrlin on github.
  • I am about (https://keybase.io/about) on keybase.
  • I have a public key ASA0fHVBa6aprzvSxr1D_LvoODkSrxYMHgt3AFbIOK_IBAo

To claim this, I am signing this object:

View webserver_dockerfile
# use the nginx image from docker
FROM nginx
MAINTAINER Joakim Ahrlin "joakim.ahrlin@gmail.com"
# update stuffs, install some more stuff
RUN apt-get update && apt-get install -y \
git \
curl \
mercurial
@jahrlin
jahrlin / SassMeister-input.scss
Created Oct 13, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.14)
// Compass (v1.0.3)
// ----
$name: "hej";
$color: red;
.#{$name} {
&.apppage {
.hero {