This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fresh: clean chart | |
chart: instance_ages | |
@echo "AWS EC2 Instance Age Report" | |
@echo "---------------------------" | |
@echo "Days\\tCount" | |
@cat instance_ages | ./chart.py -n | |
clean: | |
rm -f instance* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# This if for the mac hipchat client | |
# To setup, download this file to any folder and save as `hip.sh` | |
# change the permissions of the file so it is executable using terminal | |
# You can do this by running `chmod u+x ./hip.sh` | |
# Now you can run `./hip.sh` | |
echo 'Hipchat hooray...ho... - Press CTRL+C to stop' | |
while : | |
do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script will download and install Google Chrome on a fresh installation of Mac OS X. | |
# Usage: curl -fkL gist.github.com/raw/4364590/install-chrome.sh | sh | |
curl -Lo /tmp/Google\ Chrome.dmg https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg; | |
hdiutil attach /tmp/Google\ Chrome.dmg; | |
ditto -rsrc /Volumes/Google\ Chrome/Google\ Chrome.app /Applications/Google\ Chrome.app; | |
hdiutil detach /Volumes/Google\ Chrome; | |
rm /tmp/Google\ Chrome.dmg; |