Skip to content

Instantly share code, notes, and snippets.

View JacobHearst's full-sized avatar
💻
Hacking

Jacob Hearst JacobHearst

💻
Hacking
View GitHub Profile
Verifying my Blockstack ID is secured with the address 14A9Mz1x6JNHn2ACGBVuow6Whm8eKbsrwr https://explorer.blockstack.org/address/14A9Mz1x6JNHn2ACGBVuow6Whm8eKbsrwr
@JacobHearst
JacobHearst / hangman.py
Last active November 12, 2018 20:12
A simple commandline hangman game using the words found at www.hangmanwords.com/words
import linecache
import random
import re
line_num = random.randint(1, 60)
line = linecache.getline("words.txt", line_num)
line = line[0:len(line) - 1]
guessed_letters = []
word_progress = []
@JacobHearst
JacobHearst / rhyme_finder.py
Created September 26, 2017 20:06
A simple rhyme finder built off of the api from datamuse
import json
from urllib.request import urlopen
HEADERS = ["One", "Two", "Three", "Four or more", "======"]
BORDER = "======"
url = "https://api.datamuse.com/words?rel_rhy=" + \
input("Input a word to find out what rhymes: ").split(' ')[0]
data = json.load(urlopen(url))
@JacobHearst
JacobHearst / checker.py
Last active November 6, 2018 20:56
Simple GUI MD5/SHA256/SHA1 Hashsum Checker and Generator
import hashlib
from tkinter import *
from tkinter.filedialog import askopenfilename
class App:
BLOCK_SIZE = 4096
# Initialize the application window
def __init__(self, master):