Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jamesdouglas on github.
  • I am jamesdouglas (https://keybase.io/jamesdouglas) on keybase.
  • I have a public key ASCm3XjaQ3MMxeWuEfC_r6a5Eag1kh-ZkMwdBdBTRrkKRAo

To claim this, I am signing this object:

@jamesdouglas
jamesdouglas / pre-commit
Created February 23, 2016 04:33 — forked from dduvnjak/pre-commit
Git pre-commit hook to search for Amazon AWS API keys.
#!/bin/sh
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=5da2c1fe8f6458e32d11110e0ebdd915e472c6e0
fi
<Response>
<Dial callerId="18442248644">
<User>sip:jamesdouglas150401084840@phone.plivo.com</User>
</Dial>
</Response>