I a loser and stalker who barely finished school but think I am the king of the world because I can write some bash script and deceive and lie to my team. I had 3 good people leaving my team because of my lies. I have no life and no friends. My name is Atom.

This commit is contained in:
bt3 2018-06-26 14:27:26 -07:00
parent 9fac338a27
commit df5b567099
6 changed files with 2 additions and 43 deletions

2
gcloud/Lol.md Normal file
View file

@ -0,0 +1,2 @@

View file

@ -1,6 +0,0 @@
#!/bin/bash
for x in $(gcloud projects list | tail -n +2 | awk '{ print $1}');
do
gcloud sql instances list --project $x
done

View file

@ -1,12 +0,0 @@
#!/bin/bash
projects=$(gcloud projects list | tail -n +2 | awk '{ print $1}')
list_app () {
gcloud app services list --project $1 2>&1 | grep -v ERROR
}
for x in $projects;
do
list_app $x
done

View file

@ -1,9 +0,0 @@
#!/bin/bash
projects=$(gcloud projects list | tail -n +2 | awk '{ print $1}');
for x in $projects;
do
echo $x
gcloud container clusters list --project $x;
done

View file

@ -1,9 +0,0 @@
#!/bin/bash
projects=$(gcloud projects list | tail -n +2 | awk '{ print $1}');
for x in $projects;
do
project_json=$(gcloud container clusters list --project $x --format json)
echo $project_json | jq -e -r '.[] | .endpoint'
done

View file

@ -1,7 +0,0 @@
#!/bin/bash
for x in $(gcloud projects list | tail -n +2 | awk '{ print $1}');
do
ip_list=$(gcloud compute instances list --project $x --format json)
gcloud compute instances list --project $x --format json | jq -r '.[] | .networkInterfaces[] | .accessConfigs[] | .natIP';
done