Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash -e
# Setup a Root CA in vault
# Generate and sign an Intermediate cert
#
# Requires:
# * A running vault server already initialzed and unsealed
# * Environment variable VAULT_TOKEN is set
# * vault cli (https://www.vaultproject.io)
# * httpie (https://github.com/jkbrzt/httpie)
@codekoala
codekoala / 0_reuse_code.js
Created July 7, 2014 05:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
cd /tmp
aria2c http://codespeak.net/lxml/lxml-2.2.4.tgz
tar -xzvf lxml-2.2.4.tgz
cd lxml-2.2.4
mkdir libs
cd libs/
aria2c ftp://xmlsoft.org/libxml2/libxml2-2.7.3.tar.gz
aria2c ftp://xmlsoft.org/libxml2/libxslt-1.1.24.tar.gz
cd ..
python setup.py build --static-deps --libxml2-version=2.7.3 --libxslt-version=1.1.24