This file contains hidden or 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
interface Canvas { | |
/** | |
* The drawLine function draws a line on the canvas that stretches from a designated | |
* start point to a designated endpoint. | |
* @param x1 The location on the x-axis of the desired start point of the line | |
* @param y1 The location on the y-axis of the desired start point of the line | |
* @param x2 The location on the x-axis of the desired end point of the line | |
* @param y2 The location on the y-axis of the desired end point of the line | |
* @param color The desired color of the line given as a tri-color pixel | |
*/ |
This file contains hidden or 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
#!/usr/bin/python3 | |
from pathlib import Path | |
from shutil import copy, copytree, rmtree | |
from datetime import datetime | |
from dateutil.parser import parse | |
from mako.template import Template | |
from feedgen.feed import FeedGenerator | |
import re | |
import markdown2 | |
import sys |