Skip to content

Instantly share code, notes, and snippets.

View davidhaas6's full-sized avatar

David Haas davidhaas6

View GitHub Profile
# fileprint.py
# Prints directory content for inputting into an LLM
# python fileprint.py -d src/ -o myCode.md
import os
import sys
import argparse
# Hard-coded folders to exclude
EXCLUDED_FOLDERS = ['.venv', '__pycache__', 'cache', '.git', '.pytest_cache', 'analysis']
@davidhaas6
davidhaas6 / guess.py
Created April 9, 2022 00:59
Semantle Word Triangulation
# Triangulates the semantle word of the day. Put in your existing guesses, their similarities, and go!
# Play semantle @ https://semantle.novalis.org/
# David Haas ~ 04/08/22
import gensim.downloader as api
import numpy as np
import os
def load_model():