Skip to content

Instantly share code, notes, and snippets.

View brusangues's full-sized avatar
😀

Bruno S Rodrigues brusangues

😀
View GitHub Profile
@brusangues
brusangues / 21_06_07-lstm-si.ipynb
Created July 13, 2022 14:19
21_06_07 LSTM SI.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brusangues
brusangues / apply-md5.py
Created July 5, 2021 20:33
Python code to search emails in csv, xlsx and json files; split email into name and domain; and apply md5 hash to the name, name in uppercase and name in lowercase; returning them in csv format.
# Python code to search emails in csv, xlsx and json files;
# split email into name and domain;
# and apply md5 hash to the name, name in uppercase and name in lowercase;
# returning them in csv format.
import hashlib
import re
import csv
import glob
import pandas as pd
@brusangues
brusangues / proxy.py
Last active February 12, 2022 11:00 — forked from darkwave/proxy.py
Python 2.7 proxy server for HTTP GET
# Python Web Proxy for HTTP GET
# UFABC 2021 Computer Networks Project
# Inspired by: https://gist.github.com/darkwave/52842722c0c451807df4
# Imports
if 1:
import sys
import socket
import time # for delay
import select # selection of available sockets