When creating the SVG, add this bit of D3:
.attr("id","chart")
.attr("viewBox","0 0 960 500")
.attr("perserveAspectRatio","xMinYMid")
Then later in the code, add this bit of jQuery:
Cloudformation is an AWS service for configuring and managing deployment of AWS resources in a declarative, reproducible fashion. Makes it possible to create entire architectures with a single command.
Templates can be created in the following ways:
AWS gets easier once you learn the cli commands relevant to your workflow. That said, remembering some of the lengthier (and more useful) commands can be tough. Here's what I tend to use:
# Create an SSH keypair and save the key locally.
aws ec2 create-key-pair --key-name <KEYNAME> --profile default --query 'KeyMaterial' --output text > ~/.ssh/<KEYNAME>.pem
# Delete a keypair
aws ec2 delete-key-pair --key-name <KEYNAME> --profile default
Quick idea to understand what modules get imported.
Example:
>>> import importlog
# Run a bunch of code
>>> import shapely.geometry
>>> p = shapely.geometry.Point(0.0, 0.0)
>>> b = p.buffer(1.0)
Resources:
Resources: