I hereby claim:
- I am rms1000watt on github.
- I am rms1000watt (https://keybase.io/rms1000watt) on keybase.
- I have a public key whose fingerprint is 81F4 1CB1 A75E 500C 47B9 EAE6 C47E 8B5C 73FD A8EE
To claim this, I am signing this object:
| # The first one in that file is the actual cert of the website | |
| # The following ones in that file is the chain. Possibly this should separate full-chain.pem to chain.pem + cert.pem | |
| openssl s_client -host www.google.com -port 443 -showcerts 2>&1 | sed -n '/BEGIN CERTIFICATE/,/END CERTIFICATE/p' > ~/Desktop/full-chain.pem |
| # Courtesy of: https://gist.github.com/nstielau/966835 | |
| echo "deploys.test.myservice:1|c" | nc -w 1 -u datadog.kube-system 8125 |
| # Kudos: https://github.com/serverless/serverless/issues/3833#issuecomment-389739007 | |
| export AWS_SDK_LOAD_CONFIG=1 |
| go get github.com/helm/helm | |
| cd $(go env GOPATH)/src/github.com/helm/helm/_proto | |
| kubectl -n kube-system get cm hello-world.v1 -o yaml | grep release | cut -d' ' -f4 | base64 -D | gunzip | protoc --decode hapi.release.Release hapi/**/* > ~/Desktop/hello-world.v1.protod | |
| # Edit this file to DEPLOYED | |
| cat ~/Desktop/hello-world.v1.protod | protoc --encode hapi.release.Release hapi/**/* | gzip | base64 | pbcopy | |
| kubectl -n kube-system edit cm hell-world.v1 | |
| # Update the release with the value in your clipboard | |
| # Also update metadata.labels.STATUS to DEPLOYED so the protobuf matches this label STATUS | |
| helm ls |
| aws athena start-query-execution \ | |
| --query-string "$(cat create-table.sql)" \ | |
| --query-execution-context Database=someathenadatabase \ | |
| --result-configuration OutputLocation=s3://some-s3-bucket-for-athena-results/aws-cli | |
| # Do this multiple times for each partition.. probably jinja2 script it | |
| aws athena start-query-execution \ | |
| --query-string "ALTER TABLE table_1 ADD PARTITION (year='2019',month='4',day='1') location 's3://some-bucket-where-structured-data-is/path/2019/4/1';" \ | |
| --query-execution-context Database=someathenadatabase \ | |
| --result-configuration OutputLocation=s3://some-s3-bucket-for-athena-results/aws-cli |
I hereby claim:
To claim this, I am signing this object:
| # Courtesy of: https://forums.openvpn.net/viewtopic.php?t=21476 | |
| .... | |
| redirect-gateway def1 | |
| ... |
| package main | |
| import ( | |
| "os" | |
| "os/exec" | |
| ) | |
| func main() { | |
| var name string | |
| var args []string |
| // https://stackoverflow.com/a/42251527 | |
| t := "hello world friends" | |
| t = strings.Join(strings.Fields(t), " ") |