Skip to content

Instantly share code, notes, and snippets.

View sebastianmorenoe's full-sized avatar
🇨🇱
Creating Cloud Spanish Content

Sebastián Moreno E sebastianmorenoe

🇨🇱
Creating Cloud Spanish Content
View GitHub Profile
Perform Foundational Data, ML, and AI Tasks in Google Cloud: Challenge Lab
Task - 1 : Run a simple Dataflow job
bq mk DATASET_NAME
gsutil mb gs://BUCKET_NAME
@sebastianmorenoe
sebastianmorenoe / gist:ed9aca858a0c4cd9df575956a299cbf6
Created September 7, 2023 20:38
Laboratorio Back Build and Secure Networks in Google Cloud: Challenge Lab
export IAP_NETWORK_TAG=allow-ssh-iap-ingress-ql-302
export INTERNAL_NETWORK_TAG=allow-ssh-internal-ingress-ql-839
export HTTP_NETWORK_TAG=allow-http-ingress-ql-283
export ZONE=us-east1-d
gcloud compute firewall-rules delete open-access
export ZONE=
export REGION=
export FIREWALL_NAME=
cat << EOF > startup.sh
#! /bin/bash
apt-get update
apt-get install -y nginx
service nginx start
sed -i -- 's/nginx/Google Cloud Platform - '"\$HOSTNAME"'/' /var/www/html/index.nginx-debian.html
@sebastianmorenoe
sebastianmorenoe / challenge001.py
Created June 17, 2023 16:03
[Prompt Engineering] - Desafío Número 1 - Crea tu primera función en Python
"""
Agrega el código generado por el modelo fundacional aquí
"""
if __name__ == '__main__':
if multiply(2,5) == 10:
print('DESAFÍO COMPLETADO')
else:
print('DESAFÍO NO LOGRADO')