Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -e
send_failure_to_slack() {
curl -X POST \
--data-urlencode "payload={
\"channel\": \"#notifications-eng\",
\"username\": \"postgres-backups\",
\"text\": \"spaces-postgres-backup.sh failed! Please check it out.\",
\"icon_emoji\": \":raysthump:\"

Keybase proof

I hereby claim:

  • I am justinkim on github.
  • I am justinkim (https://keybase.io/justinkim) on keybase.
  • I have a public key whose fingerprint is 9691 FA15 2C9A FB08 8511 38D1 CA3A B655 5BE5 EA73

To claim this, I am signing this object: