Skip to content

Instantly share code, notes, and snippets.

@ryanmark
ryanmark / import_tix.py
Created May 11, 2012 19:13 — forked from brianboyer/import_tix.py
Unfuddle ticket generator
#!/usr/bin/env python
# Takes a markdown formatted sked of milestones and tickets and
# pushes it all into unfuddle. Tries to prevent duplicates, but
# doesn't do a great job because Unfuddle's API acts strangely.
#
# TODO: Figure out why new tickets don't show up in the get tickets API request
#
# usage: import_tix.py sked.txt
#
@ryanmark
ryanmark / ami-clean.sh
Last active August 8, 2019 06:35 — forked from jdowning/ami-clean.sh
Script to clean up Ubuntu EC2 instance before packaging as an AMI
#!/bin/bash
# This script cleans up your EC2 instance before baking a new AMI.
# Run the following command in a root shell:
#
# bash <(curl -s https://gist.github.com/ryanmark/e8319855354ec157cdaa/raw/ami-clean.sh)
function print_green {
echo -e "\e[32m${1}\e[0m"
}