I hereby claim:
- I am jsoros on github.
- I am senordroolcup (https://keybase.io/senordroolcup) on keybase.
- I have a public key ASAtckGdjDqKgJJLGsqRHHVdjUN3btC9VMkXsx-bf0ydxgo
To claim this, I am signing this object:
| uploads/affwp-debug.log | |
| certs/server.key | |
| server.key | |
| .CSV | |
| .README.md.bud | |
| .action | |
| .actionScriptProperties | |
| .angular-cli.json | |
| .apport-ignore.xml |
| sudo tcpdump '(src host <ip> and src port 443) or (dst host <IP> and dst port 443)' -U -s 1500 -i eth0 -w - | tee $(date +%Y%m%d%H%M%S).pcap | tcpdump -r - |
| #!/bin/bash | |
| # set up some variables | |
| NOW_DATE=$(date '+%Y-%m-%d-%H-%M') | |
| RESTORE_FROM_INSTANCE_ID=<source name> | |
| TARGET_INSTANCE_ID=<target name> | |
| TARGET_INSTANCE_CLASS=db.m4.large | |
| VPC_ID=<vpc subnet id> | |
| NEW_MASTER_PASS=<root password> |
| 'use strict'; | |
| const AWS = require('aws-sdk'); | |
| const _h = require('highland'); | |
| const ecs = new AWS.ECS({region: process.env.AWS_REGION || 'us-east-1'}); | |
| let familyPrefix = null; | |
| if (process.argv.length >= 3){ |
| # Get number of running containers of a service | |
| aws --profile saml --output json ecs describe-services --cluster DIT-DMZ --service adp-e-bot-kafka | jq '.services[]|.desiredCount' | |
| # Get a list of all task definitions | |
| aws --profile saml --output text ecs list-task-definition-families | |
| # Get the JSONs of a task definition | |
| aws --profile saml --output json ecs describe-task-definition --task-def DIT-adp-e-bot | jq '.taskDefinition|if .networkMode then {family: .family, volumes: .volumes, containerDefinitions: .containerDefinitions, networkMode: .networkMode} else {family: .family, volumes: .volumes, containerDefinitions: .containerDefinitions} end' | |
| # Get all task definition and save each as a JSON |
I hereby claim:
To claim this, I am signing this object:
| wget http://stedolan.github.io/jq/download/linux64/jq | |
| aws ec2 describe-instances --filters "Name=tag:Name,Values=$NAME" \ | |
| "Name=instance-state-name,Values=running" \ | |
| | jq -r \ | |
| ".Reservations[] | .Instances[] | .InstanceId" \ | |
| aws ec2 describe-volumes --filters \ | |
| "Name=status,Values=available" \ | |
| | jq -r ".Volumes[] | .VolumeId" \ |