Skip to content

Instantly share code, notes, and snippets.

@Schizo
Schizo / listOfRandomNames.py
Created January 19, 2019 02:52
List of 6783 random names
names = ['Reese', 'Alberto', 'Racquel', 'Shanika', 'Tony', 'Thornton', 'Linton', 'Cleave', 'Texas', 'Warren', 'Arminta', 'Gilford', 'Hali', 'Patti', 'Viney', 'Taylor', 'Susan', 'Squire', 'Joshuah', 'Delta', 'Olaf', 'Tanner', 'Sanjuana', 'Arthur', 'Robin', 'Ema', 'Lucero', 'Gay', 'Baylee', 'Bee', 'Herma', 'Cathryn', 'Krystle', 'Darion', 'Lamar', 'Tillman', 'Ardella', 'Eartha', 'Fumiko', 'Destry', 'Orrie', 'Lizzie', 'Viviana', 'Martez', 'Ed', 'Marry', 'Gwen', 'Tatyanna', 'Bunk', 'Johny', 'Krish', 'Royce', 'Mikel', 'Estill', 'Andy', 'Evelina', 'Savanah', 'Arleen', 'Garnet', 'Roxanna', 'Jaeda', 'Milly', 'Giovanny', 'Palma', 'Eleanor', 'Leroy', 'Alfreda', 'Demarcus', 'Robt', 'Lisha', 'Zetta', 'Elna', 'Kinsley', 'Freeman', 'Eduardo', 'Harriet', 'Mahala', 'Hardie', 'Myrta', 'Esteban', 'Nash', 'Alleen', 'Maddison', 'Opal', 'Alonza', 'Casimir', 'Diane', 'Rosella', 'Ofelia', 'Almon', 'Thyra', 'Martell', 'Callum', 'Presley', 'Chaz', 'Mylie', 'Doshie', 'Cora', 'Keven', 'Armida', 'Shelly', 'Betsy', 'Kelby', 'Myrtis', 'The
@Schizo
Schizo / getAllInputFields.py
Created January 1, 2019 08:29
Python - get all input fields of a login page
from bs4 import BeautifulSoup
import requests
r = requests.get("https://forums.testwebsite.net/login/")
soup = BeautifulSoup(r.content, 'html.parser')
data = {inputfield.attrs['name']: inputfield.attrs['value'] for inputfield in soup.find_all("input")}
import numpy as np
from scipy.interpolate import interp1d
from scipy.misc import imresize
import cv2
def mapCharacters(a):
m = interp1d([0,255],[0,22])
stamps = " .,:;irsXA253hMHGS#9B&@"