I hereby claim:
- I am damnedfacts on github.
- I am damnedfacts (https://keybase.io/damnedfacts) on keybase.
- I have a public key whose fingerprint is BB72 572F 6768 520E 0B06 1A22 5FCE 5BE5 2882 1EDE
To claim this, I am signing this object:
| #! /usr/local/bin/python | |
| SMTPserver = 'smtp.att.yahoo.com' | |
| sender = 'me@my_email_domain.net' | |
| destination = ['recipient@her_email_domain.com'] | |
| USERNAME = "USER_NAME_FOR_INTERNET_SERVICE_PROVIDER" | |
| PASSWORD = "PASSWORD_INTERNET_SERVICE_PROVIDER" |
| from datetime import date, timedelta | |
| def ta_meetings(year, month, day, skip_weeks=2, total_weeks=15): | |
| for dd in range(0, total_weeks, skip_weeks): | |
| d = date(year, month, day) + timedelta(days=dd*7) | |
| print(d.strftime("%a, %d %b %Y, B&L 470, 3:00-3:30pm")) |
| from urllib.parse import quote | |
| def email_quote(recipients, subject, body): | |
| recipients = quote(recipients) | |
| subject = quote(subject) | |
| body = quote(body) | |
| msg = f"mailto:{recipients}?subject={subject}&body={body}" | |
| return msg |
| #!/usr/bin/python | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| from io import BytesIO | |
| server = None | |
| PORT_NUMBER = 8080 | |
| SERVER_IP = "0.0.0.0" | |
| #This class will handles any incoming request from | |
| #the browser | |
| class myHandler(BaseHTTPRequestHandler): |
| from graphics import GraphWin, Point, Circle, Rectangle, Text | |
| from random import randrange | |
| from math import pi, sqrt | |
| height, width = 1044, 1044 | |
| # The module graphics.py can be obtained from, http://mcsp.wartburg.edu/zelle/python/graphics.py. | |
| # It may also be installable via pip. | |
| def intro(): |
I hereby claim:
To claim this, I am signing this object: