Skip to content

Instantly share code, notes, and snippets.

View addamh's full-sized avatar

Addam Hardy addamh

View GitHub Profile
"Mappings" : {
"RegionMap" : {
"us-east-1" : { "32" : "ami-6411e20d"},
"us-west-1" : { "32" : "ami-c9c7978c"},
"eu-west-1" : { "32" : "ami-37c2f643"},
"ap-southeast-1" : { "32" : "ami-66f28c34"},
"ap-northeast-1" : { "32" : "ami-9c03a89d"}
}
}
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Parameters" : {
"EnvType" : {
"Description" : "Environment type.",
"Default" : "staging",
"Type" : "String",
"AllowedValues" : ["production", "staging"],
"ConstraintDescription" : "must specify prod or test."
}
"EC2Node": {
"Type": "AWS::EC2::Instance",
"Properties": {
"InstanceType": {
"Ref": "EC2Node"
}
}
}
"EC2Node": {
"Type": "AWS::EC2::Instance",
"Properties": {
"InstanceType": "t2.micro"
}
}
"Parameters": {
"EC2Node": {
"Description": "The instance type of server (e.g. t2.micro).",
"Type": "String",
"Default": "m4.large",
"AllowedValues": [
"t2.micro",
"t1.micro",
"t2.medium",
"m1.small",
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "...",
"Parameters" : {...},
"Mappings": {...},
"Conditions": {...},
"Resources": {...},
"Outputs": {...}
}
{
"US-AL": {
"name": "Alabama",
"geometry": {
"type": "Polygon",
"coordinates": [[[-87.359296, 35.00118], [-85.606675, 34.984749], [-85.431413, 34.124869], [-85.184951, 32.859696], [-85.069935, 32.580372], [-84.960397, 32.421541], [-85.004212, 32.322956], [-84.889196, 32.262709], [-85.058981, 32.13674], [-85.053504, 32.01077], [-85.141136, 31.840985], [-85.042551, 31.539753], [-85.113751, 31.27686], [-85.004212, 31.003013], [-85.497137, 30.997536], [-87.600282, 30.997536], [-87.633143, 30.86609], [-87.408589, 30.674397], [-87.446927, 30.510088], [-87.37025, 30.427934], [-87.518128, 30.280057], [-87.655051, 30.247195], [-87.90699, 30.411504], [-87.934375, 30.657966], [-88.011052, 30.685351], [-88.10416, 30.499135], [-88.137022, 30.318396], [-88.394438, 30.367688], [-88.471115, 31.895754], [-88.241084, 33.796253], [-88.098683, 34.891641], [-88.202745, 34.995703], [-87.359296, 35.00118]]]
}
},
"US-AK": {
"na
@addamh
addamh / us.json
Last active November 20, 2015 05:59
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/bash
go() {
echo "Removing personal files..."
# Delete this file
#rm -- "$0"
}
echo "Are you sure?"
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"), require("./xml-hint"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror", "./xml-hint"], mod);
else // Plain browser env
mod(CodeMirror);