Skip to content

Instantly share code, notes, and snippets.


Chris Mears chrisjm

View GitHub Profile

Keybase proof

I hereby claim:

  • I am chrisjm on github.
  • I am chrisjm ( on keybase.
  • I have a public key ASBjjLraX9agKQ1mmJxwQCPR7SS0TxXfndl20YvjD6S4ego

To claim this, I am signing this object:

chrisjm /
Last active Apr 29, 2021 — forked from tache/
LetsEncrypt, AWS Certificate Manager, and CloudFront

Using LetsEncrypt SSL certificates with AWS Certificate Manager and CloudFront

This is a document for managing LetsEncrypt certificates on AWS using AWS Certificate Manager and configuring on CloudFront using the AWS CLI.


Follow the instructions to set up the certbot and aws commands on your local machine:

chrisjm /
Created Apr 26, 2017
"Mistakes Were Made" by Razvan Spatariu (Funding Tree) Presentation Notes

Presentation link

Main Lessons Learned

  • Breakout components/patterns that will provide most value first
  • Documentation is necessary; "the code describes itself" is not good enough
  • Explain & Educate! Make sure all business groups know what you are working toward (ie. consistent branding)
  • You won't get time to work on it from the business; build little bit at a time while you are working on features; it's just part of your process, like tests
  • Design team NEEDS to be involved
chrisjm / s3-delete-bucket.rb
Created Dec 16, 2011 — forked from bdunagan/s3-delete-bucket.rb
s3-delete-files.rb -- Quickly delete a large amount of Amazon AWS S3 files given a prefix
View s3-delete-bucket.rb
#!/usr/bin/env ruby
# s3-delete-files.rb
# Fog-based script for deleting a large amount of Amazon AWS S3 files given a prefix (~100 files/second)
# Forked from:
require 'rubygems'
require 'thread'
require 'fog'
View gist:852096
function handleOnchange(item) {
if( descriptions[$(item).val()] ) {
$(item).parent().parent().find('.navTitle input').val(descriptions[$(item).val()].title);
$(item).parent().parent().find('.navTarget input').val(descriptions[$(item).val()].uri);
$(item).parent().parent().find('.navTarget input').attr( 'onFocus', 'blur();' );
$(item).parent().parent().find('.navTarget input').attr( 'class', 'disabled' );
} else {
$(item).parent().parent().find('.navTitle input').val('');
$(item).parent().parent().find('.navTarget input').val('');
$(item).parent().parent().find('.navTarget input').attr( 'onFocus', null );