Skip to content

Instantly share code, notes, and snippets.

View zalary's full-sized avatar

Zalary Young zalary

  • ATX
View GitHub Profile
#!/bin/bash
set -aex
pkill -9 vault || true
sleep 2s
tee /tmp/config.hcl <<EOF
storage "inmem" {}
listener "tcp" {
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"specified_lists":["my_list"],
"key":"test@email.com",
"found":true,
"exists_in_lists":["my_list"]
}
@zalary
zalary / caveatPatchor.js
Created September 16, 2011 17:55 — forked from rickbenavidez/caveatPatchor.js
Propane caveatPatchor
/**
Sample Propane caveatPatchor.js file based on tmm1's avatar hack.
You'll need at least version 1.1.1 to experiment with this:
http://propaneapp.com/appcast/Propane.1.1.1.zip
Once I'm sure exposing this hack-injection point doesn't cause problems
I'll do an official auto-updating version.
As of version 1.1.1, Propane will load and execute the contents of