This file contains 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 optparse | |
import json | |
import smtplib | |
import sys | |
import time | |
import email.utils | |
import random | |
import string | |
import os.path | |
import os |
This file contains 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 sys | |
import glob | |
import re | |
import pandas as pd | |
import numpy as np | |
import datetime | |
STARTTIMEREGEX = re.compile(r'''^\#([0-9]{2}):([0-9]{2}):([0-9]{2})''') | |
COMMENTREGEX = re.compile(r'''^//''') | |
LINEREGEX = re.compile(r'''^\{([0-9]{2})\:([0-9]{2})\:([0-9]{2})\} (.+?@.+?):(.+?) \[([0-9\.]{6,15})\]$''') |
This file contains 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
#/etc/httpd/sites-enabled/example.com.conf | |
<VirtualHost *:80> | |
ServerName example.com | |
ServerAlias www.example.com | |
ServerAdmin hostmaster@example.com | |
DocumentRoot /var/www/example.com/www | |
Alias /static /var/www/example.com/www |