Skip to content

Instantly share code, notes, and snippets.

View jarbaugh5's full-sized avatar

Jonathan Arbaugh jarbaugh5

  • Acenna Data (@mimirinsights)
  • Cambridge, MA
View GitHub Profile
from urllib import request
import json
import os
import re
import boto3
def lambda_handler(event, context):
message_id = event['Records'][0]['ses']['mail']['messageId']
print("message_id: ", message_id)
<html>
<body>
<canvas id="world" style="position: fixed; top: 0; left: 0; z-index: 1"></canvas>
<script type="text/javascript">
(function () {
var COLORS, Confetti, NUM_CONFETTI, PI_2, canvas, confetti, context, drawCircle, i, range, resizeWindow, xpos;
NUM_CONFETTI = 200;
COLORS = [[85, 71, 106], [174, 61, 99], [219, 56, 83], [244, 92, 68], [248, 182, 70]];
@jarbaugh5
jarbaugh5 / crash.log
Last active January 17, 2017 03:32
Crash log from Packer build 1/16/17
2017/01/16 22:20:48 [INFO] Packer version: 0.12.1
2017/01/16 22:20:48 Packer Target OS/Arch: darwin amd64
2017/01/16 22:20:48 Built with Go Version: go1.7.3
2017/01/16 22:20:48 Detected home directory from env var: /Users/Jon
2017/01/16 22:20:48 Using internal plugin for vmware-vmx
2017/01/16 22:20:48 Using internal plugin for amazon-ebsvolume
2017/01/16 22:20:48 Using internal plugin for azure-arm
2017/01/16 22:20:48 Using internal plugin for cloudstack
2017/01/16 22:20:48 Using internal plugin for googlecompute
2017/01/16 22:20:48 Using internal plugin for parallels-pvm

Keybase proof

I hereby claim:

  • I am jarbaugh5 on github.
  • I am jonarbaugh (https://keybase.io/jonarbaugh) on keybase.
  • I have a public key whose fingerprint is D882 B7C1 1641 519B B097 F586 88FA AF38 6A51 94D5

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jarbaugh5 on github.
  • I am jonarbaugh (https://keybase.io/jonarbaugh) on keybase.
  • I have a public key whose fingerprint is D882 B7C1 1641 519B B097 F586 88FA AF38 6A51 94D5

To claim this, I am signing this object: