martes, 29 de noviembre de 2016

python argparse reference

The cleanest example to parse options for a python program:

miércoles, 16 de noviembre de 2016

Getting AWS instances using certain image-id with CLI

  1. Create a file filters.json
  2. $ aws ec2 describe-instances --filters file://filters.json
The filters.json file looks like this:

    "Name": "image-id",
    "Values": ["ami-dc6aa9b1"]

Weekly random links [46/52] 2019 https://www.informa...