I hereby claim:
- I am ksatirli on github.
- I am ksatirli (https://keybase.io/ksatirli) on keybase.
- I have a public key whose fingerprint is 38F5 4ADD 621D 40EB 4E8F BBB2 599E 7F95 94DF 9E1F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
aws \ | |
--profile="withmethod" \ | |
--region="eu-west-1" \ | |
ec2 \ | |
get-console-screenshot \ | |
--instance-id "i-01a2bc34d5d67e89f" \ | |
| jq \ | |
--raw-output \ |
#!/bin/bash | |
aws \ | |
ec2 describe-images \ | |
--owner "self" \ | |
--filter "Name=root-device-type,Values=ebs" \ | |
--filter "Name=hypervisor,Values=xen" \ | |
--filter "Name=state,Values=available" \ | |
--filter "Name=architecture,Values=x86_64" \ | |
--filter "Name=public,Values=true" \ |
@echo off | |
:: BEGIN: ensure all variables stay local: | |
setlocal | |
:: BEGIN: define config variables: | |
set versions_file="versions.txt" | |
:: END: define config variables: | |
--- | |
version: '2' | |
services: | |
shared: | |
image: busybox | |
container_name: shared | |
volumes: | |
- /tmp:/shared |
--- | |
- | |
name: add user on local system | |
hosts: localhost | |
strategy: free | |
gather_facts: false | |
tasks: | |
- name: add user |
--- | |
- name: Toggle EC2 Instance Termination Protection | |
hosts: all | |
connection: local | |
gather_facts: false | |
pre_tasks: | |
- name: | |
fail: |
--- | |
- | |
name: interacting with Docker | |
hosts: localhost | |
strategy: free | |
gather_facts: true | |
vars: | |
docker_host_registry_path: "/Users/{{ lookup('env','USER') }}/Sites/_test.local/docker-registry" |
{ | |
"auths": { | |
"https://index.docker.io/v1/": {}, | |
"localhost:8083": {} | |
}, | |
"credsStore": "osxkeychain" | |
} |
#!/bin/sh | |
docker volume ls -qf dangling=true | xargs -r docker volume rm |