Intent:
- Increase awareness of architectural best practices
| {"lastUpload":"2021-11-17T15:49:50.034Z","extensionVersion":"v3.4.3"} |
| #!/bin/bash | |
| # | |
| # Ansible role test shim. | |
| # | |
| # Usage: [OPTIONS] ./tests/ansible-tester.sh | |
| # - distro: a supported Docker distro version (default = "centos7") | |
| # - playbook: a playbook in the tests directory (default = "test.yml") | |
| # - role_name: the role name (default = "${role_name}") | |
| # - cleanup: whether to remove the Docker container (default = true) | |
| # - container_id: the --name to set for the container (default = timestamp) |
I hereby claim:
To claim this, I am signing this object:
| _complete_ssh_hosts () | |
| { | |
| COMPREPLY=() | |
| cur="${COMP_WORDS[COMP_CWORD]}" | |
| comp_ssh_hosts=$(cat ~/.ssh/config ~/.ssh/conf.d/*.ssh | \ | |
| grep "^Host " | grep -v '\*' | uniq | \ | |
| awk '{print $2}') | |
| COMPREPLY=( $(compgen -W "${comp_ssh_hosts}" -- $cur)) | |
| return 0 | |
| } |
| # Force screen to process ^S/^Q | |
| deflogin on | |
| # Autodetach session on hangup instead of terminating screen completely | |
| autodetach on | |
| # Change escape command key invocation | |
| escape `` | |
| # Instead of Control-a, make the escape/command character be Control-s | |
| ##escape ^Ss |
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Resource": "arn:aws:es:us-east-1:<account_id>:domain/<es_domain>/<es_index|*>", | |
| "Principal": { | |
| "AWS": "arn:aws:iam::<account_id>:role/<iam_role>" | |
| }, | |
| "Action": ["es:*"], | |
| "Effect": "Allow", |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
Note: You may have to go into Preferences (⌘,) -> Profiles -> Keys and enable Left option (⌥) key acts as: +Esc for the option commands to work.
| Modifier | Symbol |
|---|---|
| Option | ⌥ |
| Command | ⌘ |
| Control | ⌃ |
| Caps Lock | ⇪ |
| Shift | ⇧ |