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 | |
ALEXA_STATIC_1M="http://s3.amazonaws.com/alexa-static/top-1m.csv.zip" | |
echo 'Attempting to fetch Alexa Top 1M archive...' | |
curl -o top-1m.csv.zip -s $ALEXA_STATIC_1M | |
if [ $? -ne 0 ]; then | |
echo 'FAILED: Count not fetch file from remote server.' | |
exit -1 | |
fi |
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
#!/usr/bin/env python | |
import re | |
import sys | |
import json | |
import requests | |
source = 'http://a0.awsstatic.com/pricing/1/ec2/pricing-elastic-ips.min.js' | |
# Request. | |
raw = requests.get(source).text.replace('\n', '') |
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
#!/usr/bin/env python | |
import re | |
import sys | |
import json | |
import requests | |
source = 'http://a0.awsstatic.com/pricing/1/elasticloadbalancer/pricing-elb.min.js' | |
# Request. | |
raw = requests.get(source).text.replace('\n', '') |
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
#!/usr/bin/env python | |
import re | |
import sys | |
import json | |
import requests | |
source = 'http://a0.awsstatic.com/pricing/1/ebs/pricing-ebs.min.js' | |
# Request. | |
raw = requests.get(source).text.replace('\n', '') |
NewerOlder