The scenario:
- DNS zone
myzone.com
defined in BIND. - Authoritative name server at
123.16.123.1
. - Subzone
sub.myzone.com
with an authoritative name server at123.16.123.10
. - Wishing to forward sub-zone to authoritative name server.
#!/bin/bash -e | |
LINE_BREAK="======================================" | |
REQUEST_HEADERS="Content-Type" | |
REQUEST_METHOD="GET" | |
function exitError { | |
echo "Error: $1" >&2 |
I hereby claim:
To claim this, I am signing this object:
An IAM user policy document to give minimal rights for deploying an Elastic Beanstalk application.
Where:
REGION
: AWS region.ACCOUNT_ID
: AWS account ID.APPLICATION_NAME
: Desired target Elastic Beanstalk application name(space).IAM_INSTANCE_PROFILE_ROLE
: The instance profile (IAM role) Elastic Beanstalk EC2 instaces will run under.#!/bin/bash | |
IFS=$'\n' | |
counter=1 | |
for file in $(ls -1tr *.jpg); do | |
mv "$file" "$(printf "img_%04d.jpg" "$counter")" | |
counter=$(($counter + 1)) | |
done |