This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am aswinkarthik on github. | |
* I am aswinkarthik (https://keybase.io/aswinkarthik) on keybase. | |
* I have a public key ASBkbJKNrotV8dnenNS0Vo6hPH9RtL8UNmGXsCzUf-TO9Qo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Requirements: jq, fzf, ecs-cli, aws-cli | |
## Store in a file and source this a shell | |
function ecs-logs { | |
FZF="fzf --height 10 --reverse" | |
if [ -z "$ECS_CLUSTER_NAME" ]; then | |
cluster=$(aws ecs list-clusters | jq '.clusterArns[] | split("/") | .[-1]' -r | ${FZF}) | |
else | |
cluster=${ECS_CLUSTER_NAME} | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) disas update_refs | |
Dump of assembler code for function collect: | |
Address range 0x7feec9f95b30 to 0x7feec9f9635f: | |
0x00007feec9f95b30 <+0>: push %r15 | |
0x00007feec9f95b32 <+2>: push %r14 | |
0x00007feec9f95b34 <+4>: push %r13 | |
0x00007feec9f95b36 <+6>: push %r12 | |
0x00007feec9f95b38 <+8>: push %rbp | |
0x00007feec9f95b39 <+9>: push %rbx | |
0x00007feec9f95b3a <+10>: sub $0xa8,%rsp |