I hereby claim:
- I am atulsingh0 on github.
- I am datagenx (https://keybase.io/datagenx) on keybase.
- I have a public key ASCDVeOwxialswIyGGVxeA8-_LfgwhG4r98XtEe14XrmkQo
To claim this, I am signing this object:
| ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub |
I hereby claim:
To claim this, I am signing this object:
| // Go Playground | |
| // https://go.dev/play/p/enEBiI2_5hd | |
| package main | |
| import ( | |
| "fmt" | |
| "math/rand" | |
| "sort" | |
| "time" |
| // Go Playground | |
| // https://go.dev/play/p/MF-dT57HXTM | |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| ) |
| // Go Playground | |
| // https://go.dev/play/p/PxPhvxz5PQh | |
| package main | |
| import "fmt" | |
| func isExists(list []int, item int) bool { | |
| for _, v:= range list { |
| alias randstr='cat /dev/urandom | env LC_ALL=C tr -dc 'A-Za-z0-9' | head -c' | |
| # usage | |
| randstr 20 # lmfcYuRZ0xAlRZhN3Uy2 | |
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: z-test-pod | |
| spec: | |
| containers: | |
| - name: test | |
| image: busybox | |
| command: [ "/bin/sh", "-c", "sleep 7200" ] | |
| volumeMounts: |
| kubectl get pods --no-headers -o "name" | xargs kubectl delete pod |
| alias urldecode='python -c "import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])"' | |
| ### Usgae | |
| # | |
| # $ urldecode https%3A%2F%2Fwww.google.com | |
| # https://www.google.com |
| alias urlencode='python -c "import sys, urllib as ul; print ul.quote_plus(sys.argv[1])"' | |
| ### Usgae | |
| # | |
| # $ urlencode https://www.google.com | |
| # https%3A%2F%2Fwww.google.com |