Skip to content

Instantly share code, notes, and snippets.

View bmusat's full-sized avatar

Brent Musat bmusat

View GitHub Profile
@bmusat
bmusat / ec2_report.py
Last active March 26, 2018 19:46
List AWS ec2 instances and report on running vs. not running, additionally filter listed instances by provided string
#!/usr/bin/env python
import sys
import time
import boto3
#set the AWS related environment variables in the command line:
# export AWS_ACCESS_KEY_ID=< Your AWS Access Key ID >
# export AWS_SECRET_ACCESS_KEY=< Your AWS Secret Access Key >
@bmusat
bmusat / gitflow-breakdown.md
Last active January 26, 2018 19:29 — forked from JamesMGreene/gitflow-breakdown.md
A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository