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
GET _cat/nodes?format=json | |
GET _cat/shards/index-name | |
GET _cat/indices/index-name | |
POST _cluster/reroute | |
{ | |
"commands": [{ | |
"allocate_empty_primary": { |
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
curl -s -H "Content-Type: application/json" -XGET -k -u admin:password https://localhost:9220/.siren/_field_caps?fields=* | jq '.fields | length' | |
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
gcloud container clusters update cicd \ | |
--node-pool=pr-build-investigate-1 \ | |
--enable-autoscaling \ | |
--min-nodes=1 \ | |
--max-nodes=100 \ | |
--zone=europe-west1-c |
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
docker pull europe-west1-docker.pkg.dev/siren-cicd/docker/jenkins-agent:chrome-128-latest | |
docker run -it europe-west1-docker.pkg.dev/siren-cicd/docker/jenkins-agent:chrome-128-latest /bin/bash | |
google-chrome --version | |
google-chrome-stable --version | |
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
Before running the commands make sure you are on correct cluster | |
kubectl config use-context gke_siren-cicd_europe-west1-c_cicd-volatile | |
kubectl -n branch-er set image deployment/branch-er-er \ | |
platform-bundle-demo-data-snapshot=eu.gcr.io/siren-cicd/siren-platform-demo-data-snapshot:branch-er-75 | |
kubectl -n branch-er rollout status deployment/branch-er-er |
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
create a debugging pod | |
file system mounted at | |
/host | |
kubectl debug node/gke-cicd-build-pool-4509cbfd-vh9s -it --image=ubuntu | |
see how much space is taken there | |
all the overlay |
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
// inches | |
const sheetSizes = { | |
A0: { width: 46.81, height: 33.11 }, | |
A1: { width: 33.11, height: 23.4 }, | |
A2: { width: 23.4, height: 16.5 }, | |
A3: { width: 16.5, height: 11.7 }, | |
A4: { width: 11.7, height: 8.3 }, | |
A5: { width: 8.3, height: 5.8 }, | |
A6: { width: 5.8, height: 4.1 }, | |
A7: { width: 4.1, height: 2.9 }, |
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
rm -rf ~/Library/Application\ Support/MobileSync/Backup | |
ln -s /Volumes/T7_1T_red/Backup ~/Library/Application\ Support/MobileSync/Backup | |
open finder select iphone and press backup now |
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
ssh -fND 127.0.0.1:3000 username@server | |
from https://blog.lasne.pro/posts/bypass_country_restrictions_with_ssh/ |
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
You need the rights to reopen pull requests on the repository. | |
The pull request hasn't been merged, just closed. | |
Go to Pull requests add filter `is:closed` choose PR you want to reopen. Select from checkbox and mark as Open. |
NewerOlder