Skip to content

Instantly share code, notes, and snippets.

View edma2's full-sized avatar

Eugene Ma edma2

  • San Francisco, CA
View GitHub Profile
# beaglenmt diagnostics web server - Vanya Sergeev <vsergeev at gmail.com>
# http://dev.frozeneskimo.com/embedded_projects/beaglebone_network_multitool_server
#
import cherrypy
import os, subprocess, time, shlex, threading, copy
FORTUNE_BIN_PATH = "/home/edma2/minifortune"
FORTUNE_DIR_PATH = "/home/edma2/fortunes"
STATS_UPDATE_INTERVAL = 3