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
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset | |
# Regular Colors | |
Black="\[\033[0;30m\]" # Black | |
Red="\[\033[0;31m\]" # Red | |
Green="\[\033[0;32m\]" # Green | |
Yellow="\[\033[0;33m\]" # Yellow | |
Blue="\[\033[0;34m\]" # Blue | |
Purple="\[\033[0;35m\]" # Purple |
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
[{"type":"polyline","latLngs":[{"lat":45.00765,"lng":-93.163842},{"lat":44.973948,"lng":-93.224757},{"lat":44.966717,"lng":-93.165806},{"lat":45.00765,"lng":-93.163842}],"color":"#f50a00"},{"type":"polyline","latLngs":[{"lat":45.00765,"lng":-93.163842},{"lat":44.973693,"lng":-93.225453},{"lat":44.966717,"lng":-93.165806},{"lat":45.00765,"lng":-93.163842}],"color":"#eb1400"},{"type":"polyline","latLngs":[{"lat":45.00765,"lng":-93.163842},{"lat":44.973693,"lng":-93.225453},{"lat":44.966356,"lng":-93.16564},{"lat":45.00765,"lng":-93.163842}],"color":"#e01f00"},{"type":"polyline","latLngs":[{"lat":45.009242,"lng":-93.16121},{"lat":44.973693,"lng":-93.225453},{"lat":44.966356,"lng":-93.16564},{"lat":45.009242,"lng":-93.16121}],"color":"#d62900"},{"type":"polyline","latLngs":[{"lat":45.009242,"lng":-93.16121},{"lat":44.973408,"lng":-93.226883},{"lat":44.966356,"lng":-93.16564},{"lat":45.009242,"lng":-93.16121}],"color":"#cc3300"},{"type":"polyline","latLngs":[{"lat":45.009242,"lng":-93.16121},{"lat":44.972663,"lng" |
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
ZONE=`curl http://169.254.169.254/latest/meta-data/placement/availability-zone` | |
VOLUME=`aws ec2 create-volume --availability-zone=$ZONE --size=100|grep 'VolumeId'|awk -F'\"' '{print $4}'` | |
INSTANCE=`curl http://169.254.169.254/latest/meta-data/instance-id` | |
sleep 5 | |
aws ec2 attach-volume --volume-id=$VOLUME --instance-id=$INSTANCE --device=/dev/sdn | |
sleep 5 | |
mkfs.ext4 /dev/xvdn |
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 | |
apt-get update | |
apt-get -y install libgomp1 default-jre python-pip | |
echo "Installing AWS CLI..." | |
pip install awscli | |
export AWS_DEFAULT_REGION=us-east-1 |
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
head -n100 /dev/urandom|strings|egrep -o '([a-zA-Z0-9#%&^])'|awk '{ORS=""; print $1}'|head -c 35; echo |