paulgorman.org

< ^ txt

Fri 19 Jul 2019 10:49:55 AM EDT Slept from eleven to seven-thirty. Woke once in the night. High of ninety-five and thunderstorms today. Work: - Write a wiki page about the generator Done. - Remember to turn on Heidi's NUC Done. Power outage last night. Some clean-up this morning. Stayed inside during lunch, and paced around the office for ten minutes. ``` #!/usr/bin/env python3 from http.server import BaseHTTPRequestHandler, HTTPServer class Handler(BaseHTTPRequestHandler): def do_GET(self): if self.path == '/': msg = "OK" self.send_response(200) else: msg = "File not found" self.send_response(404) self.end_headers() self.wfile.write(bytes(msg, 'utf-8')) httpd = HTTPServer(('localhost', 8080), Handler) httpd.serve_forever() ``` Home: - Play with a D&D thing Done. Servings: grains 0/6, fruit 4/4, vegetables 4/4, dairy 1/2, meat 2/3, nuts 0/0.5 Brunch: omelet, cherries, banana, tomato, carrots, coffee Lunch: yogurt, cherries, orange, celery, tomato Dinner: Italian sub, fries 117/71

< ^ txt