This file contains 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
""" | |
Instructions: | |
Download the Zoom Chat before the meeting ends and save it to the directory (the name is the default). | |
TODO: Make a CLI script and allow for custom input file. | |
""" | |
from validators.url import url | |
with open('meeting_saved_chat.txt') as f: |
This file contains 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
"""Directions. | |
1. pip install typer | |
""" | |
import typer | |
app = typer.Typer() | |
@app.command() | |
def main(sentence:str): |
This file contains 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 PIL import ImageDraw, ImageFont, Image | |
import episode_dl | |
import re | |
feed = '<Podcast Feed>' | |
pod = episode_dl.get_episodes(feed) | |
# Custom Code for splitting the text so that it fits on the image | |
# Play around with the base_n |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link rel="stylesheet" href="style.css" | |
</head> | |
<body> | |
<div class="flex"> | |
<div class="flex-content"> |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link rel="stylesheet" href="simple_accordion.css"> | |
<style rel="stylesheet" type="text/css"> | |
.section { | |
margin: 5em; | |
} |
This file contains 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
"Git Commands Add these to your neovim configuration | |
"Run git status (Entire Repo) | |
cnoremap gs !git status | |
"Git Diff Commands | |
"Git Diff of Single File | |
cnoremap gd<SPACE> !git diff % | |
"Git Diff of (Entire Repo) | |
cnoremap gdd !git diff |
This file contains 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 requests_html import HTMLSession | |
import sys | |
url = sys.argv[1] | |
session = HTMLSession().get(url, verify=False) | |
session.html.render() | |
sys.stdout.write(session.html.find('title', first=True).text) |
This file contains 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
[[source]] | |
name = "pypi" | |
url = "https://pypi.org/simple" | |
[[source]] | |
name = "pythonhosted" | |
url = "https://files.pythonhosted.org" | |
[dev-packages] |
This file contains 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 PIL import Image, ImageDraw, ImageFont | |
from sys import argv | |
def watermark_with_transparency(base_image_path, | |
output_image_path, | |
watermark_image_path, | |
title, | |
position): | |
base_image = Image.open(base_image_path) | |
podcast_rez_image = base_image.resize((4000,4000)) |