View experiment-ffmpeg-gcp-trancoder.sh
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
#!/usr/bin/env bash | |
##################################################################### | |
# REFERENCES | |
# - https://cloud.google.com/transcoder/docs/transcode-video#create-job-from-preset-python | |
# - https://ffmpeg.org/ffmpeg.html#Stream-copy | |
##################################################################### | |
export PROJECT_ID=$(gcloud config get-value project) | |
export PROJECT_USER=$(gcloud config get-value core/account) # set current user |
View 01-kestra-setup.sh
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
#!/usr/bin/env bash | |
##################################################################### | |
# REFERENCES | |
# - https://kestra.io/docs/getting-started/ | |
##################################################################### | |
# download kestra docker-compose.yml file | |
wget https://raw.githubusercontent.com/kestra-io/kestra/develop/docker-compose.yml |
View gcp-netbox-managed.sh
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
#!/usr/bin/env bash | |
##################################################################### | |
# REFERENCES | |
# - https://docs.netbox.dev/en/stable/installation/3-netbox/ | |
# - https://github.com/netbox-community/netbox-docker/wiki/ | |
# - https://hub.docker.com/r/netboxcommunity/netbox | |
# - https://cloud.google.com/sql/docs/postgres/configure-private-ip | |
# - https://cloud.google.com/sql/docs/postgres/create-instance | |
# - https://cloud.google.com/sql/docs/postgres/create-manage-databases#gcloud |
View flutter-setup-mac-silicon.sh
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
#! /usr/bin/env bash | |
############################################################# | |
# REFERENCES | |
# - https://docs.flutter.dev/get-started/install/macos | |
# - https://developer.android.com/studio/index.html | |
# - https://developer.android.com/studio/command-line | |
# - https://developer.android.com/studio/command-line/sdkmanager | |
# - https://developer.apple.com/download/ | |
# - https://guides.cocoapods.org/using/getting-started.html#installation |
View gcp-gke-autopilot-rabbitmq.sh
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
#!/usr/bin/env bash | |
##################################################################### | |
# REFERENCES | |
# - https://cloud.google.com/kubernetes-engine/docs/how-to/creating-an-autopilot-cluster | |
# - https://www.rabbitmq.com/kubernetes/operator/quickstart-operator.html | |
##################################################################### | |
export PROJECT_ID=$(gcloud config get-value project) | |
export PROJECT_USER=$(gcloud config get-value core/account) # set current user | |
export PROJECT_NUMBER=$(gcloud projects describe $PROJECT_ID --format="value(projectNumber)") |
View gcp-gce-snapshots-delete-restore.sh
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
#!/usr/bin/env bash | |
##################################################################### | |
# REFERENCES | |
# - https://cloud.google.com/compute/docs/instances/create-start-instance | |
# - https://cloud.google.com/compute/docs/disks/create-snapshots | |
# - https://cloud.google.com/compute/docs/disks/restore-snapshot | |
##################################################################### | |
export PROJECT_ID=$(gcloud config get-value project) | |
export PROJECT_USER=$(gcloud config get-value core/account) # set current user |
View gcp-ilb-gke-ingress-proxy-only.sh
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
#!/usr/bin/env bash | |
##################################################################### | |
# REFERENCES | |
# - https://cloud.google.com/kubernetes-engine/docs/how-to/internal-load-balance-ingress#deploying_ingress_for | |
# - https://cloud.google.com/load-balancing/docs/l7-internal/setting-up-l7-internal#configure-test-environment | |
##################################################################### | |
export PROJECT_ID=$(gcloud config get-value project) | |
export PROJECT_USER=$(gcloud config get-value core/account) # set current user |
View 01-fetch-shelter-and-pet-data.sh
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
#!/usr/bin/env bash | |
# FETCH AND BUILD DATA LOCALLY | |
############################################################# | |
# "FETCH" MARKET RESEARCH DATA :-) | |
# - https://www.petfinder.com/developers/v2/docs | |
# - TIP: store CLIENT_ID and CLIENT_SECRET in .env-local file | |
############################################################# |
View gcp-anthos-quick-example.sh
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
#!/usr/bin/env bash | |
##################################################################### | |
# REFERENCES | |
# - https://cloud.google.com/anthos/docs/tutorials/explore-anthos | |
##################################################################### | |
export PROJECT_ID=$(gcloud config get-value project) | |
export PROJECT_USER=$(gcloud config get-value core/account) # set current user | |
export PROJECT_NUMBER=$(gcloud projects describe $PROJECT_ID --format="value(projectNumber)") |
View gcp-pub-private-migs-lb.sh
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
#!/usr/bin/env bash | |
##################################################################### | |
# REFERENCES | |
# - https://cloud.google.com/compute/docs/instance-templates/create-instance-templates | |
# - https://cloud.google.com/compute/docs/metadata/setting-custom-metadata | |
# - https://cloud.google.com/compute/docs/instances/startup-scripts/linux#gcloud_2 | |
# - https://cloud.google.com/compute/docs/instances/startup-scripts/linux#accessing-metadata | |
# - https://cloud.google.com/compute/docs/instance-groups/distributing-instances-with-regional-instance-groups | |
# - https://cloud.google.com/load-balancing/docs/health-checks#optional-flags-hc-protocol-ssl-tcp |
NewerOlder