This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"a": [ | |
[1,1,1], | |
[1,0,1], | |
[1,1,1], | |
[1,0,1], | |
[1,0,1], | |
], | |
"b": [ | |
[1,1,1], |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aaron | |
ababa | |
abbott | |
abel | |
abelian | |
abelson | |
abfluss | |
abgotts | |
abhang | |
abidjan |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import praw | |
import json | |
import datetime | |
def findWholeWord(w): | |
return re.compile(r'\b({0})\b'.format(w), flags=re.IGNORECASE).search | |