I hereby claim:
- I am magnetikonline on github.
- I am magnetikonline (https://keybase.io/magnetikonline) on keybase.
- I have a public key whose fingerprint is FA4A B218 5B57 20B2 A93C C1E4 9C83 B9FB 627C 44B8
To claim this, I am signing this object:
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 |
The example situation:
/var/foobah/myscript.sh/var/ has been mounted using noexec via /etc/fstab.Firstly, create a directory to hold script(s), located somewhere that has exec rights, then create the target directory on noexec partition:
$ mkdir --parents /opt/magnetik/foobah