I hereby claim:
- I am sathyabhat on github.
- I am sathyabhat (https://keybase.io/sathyabhat) on keybase.
- I have a public key whose fingerprint is 5FCB F734 4552 EAD3 AC94 1F9F 153D 7E6D 960C 2D20
To claim this, I am signing this object:
| fields @timestamp, @message, @logStream, @log | |
| | filter @message not like /RequestId|Verbose|INIT_START|Importing/ | |
| | sort @timestamp desc |
| *Common Annotations* | |
| {{ range .CommonAnnotations.SortedPairs }} • *{{ .Name }}:* `{{ .Value }}` | |
| {{ end }} | |
| *Common Labels* | |
| {{ range .CommonLabels.SortedPairs }} • *{{ .Name }}:* `{{ .Value }}` | |
| {{ end }} |
| mysqldump -u <user> -p -h <host> --databases <db name> | gzip > <file> |
| version: '3.5' | |
| services: | |
| drone-server: | |
| image: drone/drone:0.8 | |
| ports: | |
| - 80:8000 | |
| - 9000:9000 | |
| volumes: | |
| - dronedata:/var/lib/drone | |
| restart: always |
| #!/bin/bash | |
| aws iam create-group --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonEC2FullAccess --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonS3FullAccess --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonRoute53FullAccess --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/IAMFullAccess --group-name kops | |
| aws iam attach-group-policy --policy-arn arn:aws:iam::aws:policy/AmazonVPCFullAccess --group-name kops | |
| aws iam create-user --user-name kops |
| Snippet to replace a sentence across multiple buffers in Vim. The `update` writes the changes to the file. | |
| bufdo %s/depends 'mysql2_chef_gem', '\~> 1.0.1'// | update |
| mysqldump -n -t -d -R -u <username> -p -h <host name> <database> stored_procs.sql |
| #! /bin/bash | |
| #Replace {GIT_URL} with your repo | |
| git ls-remote --heads {GIT_URL} | aws -F" " '{print $NF}' | cut -c12- - |
| rename "s/oldExtension/newExtension/" *.txt | |
| via http://unix.stackexchange.com/a/159466/1648 |
I hereby claim:
To claim this, I am signing this object: