Skip to content

Instantly share code, notes, and snippets.

View luguenth's full-sized avatar
🚲

Lukas Günther luguenth

🚲
View GitHub Profile
import re
import praw
import json
import datetime
def findWholeWord(w):
return re.compile(r'\b({0})\b'.format(w), flags=re.IGNORECASE).search
import cv2
import numpy as np
import time
from pprint import pprint
from matplotlib import pyplot as plt
import math
def calc_hu_moments(img_name):
start = time.time()
@luguenth
luguenth / german_word_list.csv
Last active March 31, 2020 20:34
A list of german word for slug creation
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
aaron
ababa
abbott
abel
abelian
abelson
abfluss
abgotts
abhang
abidjan
@luguenth
luguenth / colab-deep-daze.ipynb
Last active March 30, 2021 08:02
colab-deep-daze.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@luguenth
luguenth / alphabetGridMaps.json
Last active December 18, 2021 22:49
alphabet mapped to 3x6 arrays
{
"a": [
[1,1,1],
[1,0,1],
[1,1,1],
[1,0,1],
[1,0,1],
],
"b": [
[1,1,1],
@luguenth
luguenth / paperless-cli
Last active May 19, 2022 18:21
Basic Script to sync documents via api
#!/usr/bin/env bash
# This script is used to connect to the paperless server and put all files of
# the provided directory into the paperless consumption system.
if [ $# -ne 5 ]; then
echo "Usage: $0 <server> <directory> <username> <password> [-d]"
exit 1
fi