Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Putnam mikeputnam

View GitHub Profile
@mikeputnam
mikeputnam / serverless-deploy-user.yaml
Created Apr 17, 2018 — forked from bsamuel-ui/serverless-deploy-user.yaml
Cloudformation template to deploy permissions for deploying a serverless project.
View serverless-deploy-user.yaml
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
View gist:a536b1da90bb357dcf27
-----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
View keybase.md

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 Aug 29, 2015
sign.py for Alphasign BetaBrite
View gist:1fc23129a4ae9e26c793
import alphasign
import sys
import time
import urllib2
@mikeputnam
mikeputnam / gist:9976890
Created Apr 4, 2014
Create 7zip encrypted and password protected 7z file. Openable in recent versions of WinZip.
View gist:9976890
#apt-get install p7zip
7z a -mhe=on -p output.7z original.txt
View pitches.h
/*************************************************
* 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
View happybirthdayemitter.pde
/*
Melody
Plays a melody
circuit:
* 8-ohm speaker on digital pin 8
created 21 Jan 2010
by Tom Igoe
You can’t perform that action at this time.