AWSTemplateFormatVersion: '2010-09-09'
Parameters:
ExternalId:
Type: String
Default: external-id
Resources:
AssumeRole:
Type: AWS::IAM::Role
Properties:
This file contains hidden or 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
export SA=web-admin-sa@qwiklabs-gcp-01-471593c9d915.iam.gserviceaccount.com | |
export DBK=gs://qwiklabs-gcp-01-471593c9d915-startup | |
export SBK=gs://web-startup-tjyjd | |
export NM=deploy-web-server.sh | |
export WB=web-instance | |
gcloud config set project qwiklabs-gcp-01-471593c9d915 | |
gsutil -i $SA mb $DBK | |
gsutil -i $SA cp $SBK/$NM $DBK |
This file contains hidden or 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
aws_ecs_cluster_configuration { | |
rules = [ | |
{ | |
rule = "task_definition_encryption" | |
description = "Ensure task definitions are encrypted" | |
level = "error" | |
action { | |
type = "disallow" | |
message = "Task definitions in the Amazon ECS cluster must be encrypted" | |
} |
This file contains hidden or 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
# 202401 - Python 3.12.0 | |
# MA_5-21 - 2 Maneiras de clicar em um elemento | |
import logging | |
import traceback | |
from time import sleep | |
from app import iniciar_driver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait |
This file contains hidden or 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
# Role/Profession | |
Frontend Developer | |
# Project Description | |
## Project Brief | |
We are building a japanese langauge learning web-app which serves the following purposes: | |
- A portal to launch study activities |
This file contains hidden or 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
#!/bin/bash | |
mkdir -p /home/ubuntu/miniconda3 | |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /home/ubuntu/miniconda3/miniconda.sh | |
bash /home/ubuntu/miniconda3/miniconda.sh -b -u -p /home/ubuntu/miniconda3 | |
rm /home/ubuntu/miniconda3/miniconda.sh | |
source /home/ubuntu/miniconda3/bin/activate | |
conda init --all | |
conda create --name openvino python=3.10.0 -y |
OlderNewer