Skip to content

Instantly share code, notes, and snippets.

View serrasqueiro's full-sized avatar
🎯
Focusing

Henrique serrasqueiro

🎯
Focusing
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@serrasqueiro
serrasqueiro / ABout_investments.md
Created June 12, 2026 11:21
Videos sobre investimentos

Sobre investimentos (do ActivoBank)

  1. (here) ABout Investments, ETFs vs Fundos Ativos qual faz mais sentido
## Grandvision Screen Reading Glasses
I BLU02+2.0
HAVANA-TURQUOISE
`LOT 221005A1`, `REF 8719154802065`
Grand Vision Supply Chain
(Netherlands)

Hash Identifiers Lengths

| Algoritmo / ID | Bits | Nibbles | Hex chars |
|----------------|------|---------|-----------|
| MD5            | 128  | 32      | 32        |
| Gist ID        | 128  | 32      | 32        |
| SHA‑1          | 160  | 40      | 40        |
| UUID v4        | 128  | 32      | 32        |
@serrasqueiro
serrasqueiro / mytitlecase.py
Last active April 11, 2026 10:45
Dictionary for Title case
# Install the library first:
# pip install titlecase
from titlecase import titlecase
def format_title(text: str) -> str:
return titlecase(text)
if __name__ == "__main__":
raw = "lifetime of surprises"
""" downplaylists.py
Downloads playlists found at remote link into a fixed dir!
"""
import sys
import os
import re
import requests
@serrasqueiro
serrasqueiro / calao.md
Last active February 14, 2026 20:26
dicionario de calão

Dicionário de calão

  1. Retirado daqui (here) dicionario html - Universidade do Minho
    • (here) Folder calao
    • dicionario.pdf contem o mesmo em formato mais interessante/ literario do que o HTML
  2. José João A. G. Dias de Almeida, (here) - página genérica (email: jj@di.uminho.pt)
@serrasqueiro
serrasqueiro / saldossimples.py
Last active January 11, 2026 19:07
ocultar saldos
#!/usr/bin/env python3
import sys
import re
def main():
""" Retira informacao desnecessaria;
masker = SaldoMasker(":", blanks_right=False) -> sem valor de saldo
... ("^", ...) -> descricao simplificada
"""
masker = SaldoMasker("^", blanks_right=False)