I wanted to ensure that all files has the 644 permissions but I don't want the directories to have the same permissions.
First, I'll run it with ls -l
command to avoid accidental command execution.
find ./ -type f -name "*" -exec ls -l "{}" \;
I wanted to ensure that all files has the 644 permissions but I don't want the directories to have the same permissions.
First, I'll run it with ls -l
command to avoid accidental command execution.
find ./ -type f -name "*" -exec ls -l "{}" \;
# Replace get with delete at the end | |
kubectl get pods -n jx-staging | grep -i shutdown | awk '{print $1}' | xargs -n1 kubectl get pod -n jx-staging |
Sauces:
Solution: make index a string (because strings, in essence, have infinite "arbitrary precision"). Or if you use an int, increment index by 100 instead of 1.
The performance problem is this: there is no "in between" values between two sorted items.
jx get activity -f <application-name> -w |
Source: https://stackoverflow.com/questions/52369247/namespace-stuck-as-terminating-how-do-i-remove-it
TL;DR:
kubectl get apiservice|grep False
base64 -w 0 id_rsa > id_rsa_flat |
jx promote --app app-name --version 0.0.23 --env staging |
# Without namespace | |
kubectl exec -it <pod name> -- sh | |
# With namespace | |
kubectl exec -it -n jx-staging <pod name> -- sh |
@index({ field1: 'text', field2: 'text' })
I hereby claim:
To claim this, I am signing this object: