Skip to content

Instantly share code, notes, and snippets.

View hosford42's full-sized avatar

Aaron Hosford hosford42

View GitHub Profile
@hosford42
hosford42 / pyramids_parser_example.py
Created April 28, 2017 03:27
Example of how to use Pyramids, a pure-Python rule-based natural language parser
# Installation note: Unless you plan to write your own grammar, you will need to install not only the pyramids package
# itself, but the pyramids_categories package as well. The pyramids package should automatically detect the presence of
# the pyramids_categories package and use its contents to initialize the default parser instance.
import time
import pyramids
@hosford42
hosford42 / Email Server (Linux, Unix, Mac).md
Created May 18, 2018 02:45 — forked from raelgc/Email Server (Linux, Unix, Mac).md
Setup a Local Only Email Server (Linux, Unix, Mac)

Setup a Local Only Email Server (Linux, Unix, Mac)

1 - Point localhost.com to your machine

Most of programs will not accept an email using just @localhost as domain. So, edit /etc/hosts file to make the domain localhost.com point to your machine, including this content to the file:

127.0.0.1 localhost.com

2 - Install Postfix