Skip to content

Instantly share code, notes, and snippets.

View drigols's full-sized avatar
🎯
Creating Things & Solving Problems

Rodrigo Leite drigols

🎯
Creating Things & Solving Problems
View GitHub Profile
@fnky
fnky / ANSI.md
Last active May 4, 2024 22:07
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@Yousha
Yousha / .gitignore
Last active March 27, 2024 22:58
.gitignore for C/C++ developers.
##### Windows
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
@FedericoPonzi
FedericoPonzi / big-o-java-collections.md
Last active December 30, 2023 18:05
Big O notation for java's collections

The book Java Generics and Collections has this information (pages: 188, 211, 222, 240).

List implementations:

                      get  add  contains next remove(0) iterator.remove
ArrayList             O(1) O(1) O(n)     O(1) O(n)      O(n)
LinkedList O(n) O(1) O(n) O(1) O(1) O(1)
We can't make this file beautiful and searchable because it's too large.
Rua,Bairro,Cidade,Metragem,Quartos,Banheiros,Vagas,Valor
"Avenida Itacira, 255 ",Planalto Paulista,São Paulo,1000,4,8,6,R$ 7.000.000
"Rua Aurelia Perez Alvarez, 42 ",Jardim dos Estados,São Paulo,496,4,4,4,R$ 3.700.000
Rua Alba Valdez,Jardim Reimberg,São Paulo,125,4,3,2,R$ 380.000
,Jardim Morumbi,São Paulo,310,3,2,4,R$ 685.000
"Rua Tobias Barreto, 195 ",Mooca,São Paulo,100,3,2,2,R$ 540.000
Rua Graham Bell,Santo Amaro,São Paulo,440,4,4,6,R$ 1.980.000
"Rua Francisco Paulo, 31 ",Cidade Mãe do Céu,São Paulo,145,4,4,2,R$ 850.000
"Rua Guilherme Valente, 150 ",Jardim Vergueiro,São Paulo,150,2,2,2,R$ 450.000
"Rua Sagrada Família, 8 ",Jardim Benfica,São Paulo,48,2,1,1,R$ 199.900
@weihanglo
weihanglo / .editorconfig
Created August 16, 2017 17:03
Editorconfig for web development
# http://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
@rogeriopradoj
rogeriopradoj / 1.md
Last active December 21, 2020 11:11
Dicas de como contribuir com open source by @rogeriopradoj

Olá, vamos para algumas dicas de como contribuir com opensource!

Procure seguir o fluxo base que o GitHub ensina para nós

O pessoal do GitHub tem um guia que ensina o GitHub flow, https://guides.github.com/introduction/flow/. A base que ele nos ensina é:

  • crie um branch para a alteração que você vai fazer
  • faça os commits (ou o commit único) das suas alterações
  • abra o pull request