Skip to content

Instantly share code, notes, and snippets.

View lukaspustina's full-sized avatar

Lukas Pustina lukaspustina

View GitHub Profile
server {
listen 8080;
server_name docker-network-demo;
location / {
proxy_set_header X-Root-IP $remote_addr;
proxy_set_header X-Forward-For $remote_addr;
proxy_set_header Host $host;
proxy_pass http://127.0.0.1:18080
}
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
#!/usr/bin/python
###############################################################################
# Lukas Pustina
# This script takes a dictionary (one word by line) as well as multiple text
# files and checks how many words of these text files are part of the
# dictionary.
#
# Primary use is to analyse the quality of tesseract.
###############################################################################
# Example: