Todos os prompts usados pelo orchestrator (src/dev-team-orchestrator.ts), em ordem lógica de execução.
Variáveis em {{duplas chaves}} são substituídas em runtime pelo TypeScript.
| git clone https://github.com/OpenDevin/OpenDevin.git | |
| cd OpenDevin | |
| conda create -n od python=3.10 | |
| conda activate od | |
| docker ps | |
| (optional) install docker if not already installed | |
| docker pull ghcr.io/opendevin/sandbox | |
| export OPENAI_API_KEY={your key} | |
| (optional I had to install rust) curl --proto '=https' --tlsv1.2 -sSf [https://sh.rustup.rs](https://sh.rustup.rs/) | sh | |
| (optional) restart terminal |
| import mysql.connector | |
| try: | |
| connection = mysql.connector.connect(host='foo.bar.com.br', database='foobar', user='foo', password='foobar2020') | |
| # The string that you want to search. | |
| seeked_value = "%8439742464%" # Like syntax | |
| if connection.is_connected(): | |
| db_Info = connection.get_server_info() |
| import uuid | |
| import hashlib | |
| def hash_password(password): | |
| # uuid is used to generate a random number | |
| salt = uuid.uuid4().hex | |
| return hashlib.sha256(salt.encode() + password.encode()).hexdigest() + ':' + salt | |
| def check_password(hashed_password, user_password): | |
| password, salt = hashed_password.split(':') |
| #testa colisão em um eixo e retorna verdadeiro ou falso | |
| def test_colli(a, b, c, d): | |
| if (a >= c and a <= d) or (b >= c and b <= d): | |
| return True | |
| return False | |
| #posição x e y do canto esquerdo do retangulo | |
| posX = input () | |
| posY = input () |
| mod = 100 | |
| def my_hash(num): | |
| return num % mod | |
| keys = [ [] for i in range(mod) ] | |
| values = [ [] for i in range(mod) ] | |
| def set(key, value): | |
| keys[my_hash(key)].append(key) |
Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.
To pass AWS certification, you should have: