Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <svg xmlns="http://www.w3.org/2000/svg" width="2560" height="1738" viewBox="0 0 2560 1738" role="img" aria-labelledby="title desc"> | |
| <title id="title">1C PRO yellow and grey low-poly background</title> | |
| <desc id="desc">Editable faceted geometric background with a quiet silver-grey center and yellow and graphite accents around the edges.</desc> | |
| <defs> | |
| <linearGradient id="base" x1="0" y1="0" x2="1" y2="1"> | |
| <stop offset="0" stop-color="#f8f5ec"/> | |
| <stop offset="0.52" stop-color="#e8e8e5"/> | |
| <stop offset="1" stop-color="#c9cbca"/> | |
| </linearGradient> |
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
| class Email: | |
| def __init__(self, receivers, subject='', body='', files=None): | |
| self.sender = EMAIL_SENDER | |
| self.receivers = receivers | |
| # Create the message | |
| msg = EmailMessage() | |
| msg['Subject'] = subject | |
| msg['To'] = ', '.join(receivers) | |
| msg['From'] = self.sender | |
| msg.set_content(body) |
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
| from concurrent import futures | |
| from random import randint | |
| import time, os, math, logging, logging.handlers, pprint | |
| import multiprocessing | |
| formatter = logging.Formatter('[%(asctime)s] - %(name)s - %(levelname)s - %(message)s') | |
| cons_log = logging.StreamHandler() | |
| cons_log.setFormatter(formatter) | |
| handler = logging.handlers.WatchedFileHandler('status.log') | |
| handler.setFormatter(formatter) |
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
| /** | |
| * This is the detail about the constructor | |
| * @class Main class for all books | |
| * @param {String} title Book title | |
| * @param {String} author Name of author | |
| * @param {Number} pages How many pages in the book | |
| */ | |
| class Book { | |
| constructor(title, author, pages) { |