Skip to content

Instantly share code, notes, and snippets.

View danielnunesdc's full-sized avatar
🎯
Focusing

Daniel Nunes danielnunesdc

🎯
Focusing
  • Assesso
  • Piauí
View GitHub Profile
@vedovelli
vedovelli / INDEX.md
Created March 4, 2026 11:08
nanoclaw devteam: INDEX — todos os prompts do orchestrator

nanoclaw · AI Dev Team — Índice de Prompts

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.


⚙️ Setup (uma vez por instalação)

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()
@sidneys
sidneys / youtube_format_code_itag_list.md
Created January 20, 2018 11:12
YouTube video stream format codes itags

YouTube video stream format codes

Comprehensive list of YouTube format code itags

itag Code Container Content Resolution Bitrate Range VR / 3D
5 flv audio/video 240p - - -
6 flv audio/video 270p - - -
17 3gp audio/video 144p - - -
18 mp4 audio/video 360p - - -
22 mp4 audio/video 720p - - -
@williamdlm
williamdlm / git.md
Created January 7, 2018 17:44 — forked from leocomelli/git.md
Lista de comandos úteis do GIT

#GIT

Estados

  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);

Ajuda

@ErickMwazonga
ErickMwazonga / hashing.py
Created December 21, 2017 21:29
Hashing
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 ()
@rkhapov
rkhapov / hash.py
Last active February 25, 2018 16:08
hash
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)
@miglen
miglen / aws-certification.md
Last active May 7, 2026 00:40
AWS Certification guide and notes on how to prepare for the aws associate certification architect, sysops and developer exams


AWS Certification notes

Those are my personal notes on AWS Solution Architect certification preparation. Hope you find them usefull.

To pass AWS certification, you should have:

  • Sound knowledge about most of the AWS services ( EC2, VPC, RDS, Cloudfront, S3, Route53 etc,)
  • Hands on experience with AWS services.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.