Skip to content

Instantly share code, notes, and snippets.

Luke Samuels mr-daydream

  • Baltimore, MD
Block or report user

Report or block mr-daydream

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mr-daydream / gist:cb1d833cb4be24dcf2d51b6e44cb876a
Created Dec 8, 2016
List out InstanceID or PrivateIP of all AWS instances with a certain name (requires the aws-cli and jq packages)
View gist:cb1d833cb4be24dcf2d51b6e44cb876a
aws ec2 describe-instances --filters "Name=tag:Name,Values=<regex>" | jq '.Reservations[].Instances[].InstanceId'
aws ec2 describe-instances --filters "Name=tag:Name,Values=<regex>" | jq '.Reservations[].Instances[].PrivateIpAddress'
mr-daydream /
Created Jan 12, 2016
256 color code outputter (for tmux and whatnot)
#found here:
#Re-spelled "color" the 'Murican way
for i in {0..255} ; do
printf "\x1b[38;5;${i}mcolor${i}\n"
You can’t perform that action at this time.