Skip to content

Instantly share code, notes, and snippets.

@mikeputnam
mikeputnam / serverless-deploy-user.yaml
Created April 17, 2018 22:00 — forked from bsamuel-ui/serverless-deploy-user.yaml
Cloudformation template to deploy permissions for deploying a serverless project.
AWSTemplateFormatVersion: 2010-09-09
Description: >
Constructs a managed IAM policy to deploy a serverless project.
This template assumes the stack is being deployed in the current region and account.
You can then attach this policy to other IAM objects, such as users or roles.
Based on the work done in: https://github.com/serverless/serverless/issues/1439
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
hQEMA2fQAgJs8LssAQgAq1ZGoxv8Nd72m2s1ueOAfi/y5x4cN2m6A3DMn6DOIeq+
+sZFVKTc6M89yLxPlFlDSbsBCyIvKaeeNCTOwa8uMMS5HFhok8Z5XVf+FXX6WPzM
UauYRpEOFCqzxyV0TQmPJGJM/ueexV2FQFdKDJC+DyyGpdW4yB4A1xkTgS1rGmRA
sVEeqZZnAv/t1L/f8YehHFtAJNzEGUzSu7vj2s6ulbJ1UoKLrtKz1z2Hze3lQevs
9a+mqTCrrII5XLtsyIfVIviXCk3yMAe7DtNoQ+iYuwWRe5Pd0P7iqBxK6esCMNY4
t3gBeUmxNIWT815znYxzYhxIRbvnfWrc+Xh7WClVW9J9Aejy46z24XVMCZUe/EIG
rzcikwP0f6S4AMVnp3uvw+RrHk74fs5vtoJJUoxJ5iN+IK8g6VO/qXroXXTw3bv8

Keybase proof

I hereby claim:

  • I am mikeputnam on github.
  • I am mikeputnam (https://keybase.io/mikeputnam) on keybase.
  • I have a public key ASCwrn2YyvdhgkIH-9rTiYLonnL4GWRx1YptXJ2-Nb_-Wgo

To claim this, I am signing this object:

@mikeputnam
mikeputnam / gist:1fc23129a4ae9e26c793
Last active May 13, 2023 12:40
sign.py for Alphasign BetaBrite
import alphasign
import sys
import time
import urllib2
@mikeputnam
mikeputnam / gist:9976890
Created April 4, 2014 15:19
Create 7zip encrypted and password protected 7z file. Openable in recent versions of WinZip.
#apt-get install p7zip
7z a -mhe=on -p output.7z original.txt
/*************************************************
* Public Constants
*************************************************/
#define NOTE_B0 31
#define NOTE_C1 33
#define NOTE_CS1 35
#define NOTE_D1 37
#define NOTE_DS1 39
#define NOTE_E1 41
@mikeputnam
mikeputnam / happybirthdayemitter.pde
Created May 28, 2012 18:59
happybirthdayemitter.pde
/*
Melody
Plays a melody
circuit:
* 8-ohm speaker on digital pin 8
created 21 Jan 2010
by Tom Igoe