Skip to content

Instantly share code, notes, and snippets.

View nfelsen's full-sized avatar

Nathaniel Felsen nfelsen

View GitHub Profile
"events":[
{ "start": "2009-03-10T06:00:00+00:00",
"end": "2009-03-31T22:00:00+00:00",
"instant": false,
"title": "1",
"color": "#7FFFD4",
"textColor": "#000000",
"caption": "1",
"trackNum": 1,
"classname": "special_event2 aquamarine",
@nfelsen
nfelsen / gist:dc1e89435948ead2ecbf
Created September 9, 2015 05:44
unused aws vpc security group assuming all securitry groups are used by either RDS or EC2
comm -23 <(aws --region us-east-1 ec2 describe-security-groups --query 'SecurityGroups[*].GroupId' --output text | tr '\t' '\n'| sort) <(((aws --region us-east-1 ec2 describe-instances --query 'Reservations[*].Instances[*].SecurityGroups[*].GroupId' --output text | tr '\t' '\n') ; (aws --region us-east-1 rds describe-db-instances --query 'DBInstances[*].VpcSecurityGroups[*].VpcSecurityGroupId' --output text | tr '\t' '\n')) | sort | uniq)
@nfelsen
nfelsen / graph_gist_template.adoc
Created January 2, 2016 04:53 — forked from cheerfulstoic/graph_gist_template.adoc
CHANGEME: GraphGist Template. Fork to make your own, view source to see instruction comments

TITLE OF YOUR GRAPHGIST