Skip to content

Instantly share code, notes, and snippets.

View pedrogarciafreitas's full-sized avatar

Pedro Garcia pedrogarciafreitas

View GitHub Profile
@pedrogarciafreitas
pedrogarciafreitas / mesh_near_neighborgs.py
Last active June 9, 2024 16:52
Iterate over triangles, get their neighbors, and show as movie
import open3d as o3d
import numpy as np
from PIL import Image
from tqdm import tqdm
from collections import defaultdict
import cv2
import copy
def capture_frame(vis):
@pedrogarciafreitas
pedrogarciafreitas / README.md
Last active May 31, 2024 21:51
Script to discover the whole CPF from portaldatransparencia.gov.br

BRUTE FORCE CPF FINDER

The CPF (Cadastro de Pessoas Físicas) is an identification document used in Brazil. It is a unique and individual number assigned to each Brazilian citizen. It is used for identification in various situations, such as opening bank accounts, making purchases, contracting services, among others. To obtain a CPF, it is necessary to register with the Federal Revenue Service.

This script uses one of the main services of the Brazilian federal

@pedrogarciafreitas
pedrogarciafreitas / gzjoin2.c
Last active October 13, 2023 21:50
A more portable gzjoin
/* gzjoin2 -- command to join gzip files into one gzip file
Adapted from: https://github.com/madler/zlib/blob/master/examples/gzjoin.c
Copyright (C) 2004, 2005, 2012 Mark Adler, all rights reserved
version 1.3, 13 Oct 2023
This software is provided 'as-is', without any express or implied
warranty. In no event will the author be held liable for any damages
arising from the use of this software.