Things to add to other sections
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
body { | |
font-size: 1em; | |
padding-bottom: 500px; | |
} | |
main { | |
margin-left: auto; | |
margin-right: auto; | |
width: 700px; | |
} | |
code { |
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
@media (prefers-color-scheme: light) { | |
div#notebook { | |
font-family: sans-serif; | |
font-size: 14pt; | |
line-height: 170%; | |
color: #303030; | |
-webkit-font-smoothing: antialiased !important; | |
padding-top: 25px !important; | |
} | |
body, |
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
@media (prefers-color-scheme: light) { | |
div#notebook { | |
font-family: sans-serif; | |
font-size: 14pt; | |
line-height: 170%; | |
color: #303030; | |
-webkit-font-smoothing: antialiased !important; | |
padding-top: 25px !important; | |
} | |
body, |
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
@media (prefers-color-scheme: light) { | |
div#notebook { | |
font-family: sans-serif; | |
font-size: 14pt; | |
line-height: 170%; | |
color: #303030; | |
-webkit-font-smoothing: antialiased !important; | |
padding-top: 25px !important; | |
} | |
body, |
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
["tench, Tinca tinca", | |
"goldfish, Carassius auratus", | |
"great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias", | |
"tiger shark, Galeocerdo cuvieri", | |
"hammerhead, hammerhead shark", | |
"electric ray, crampfish, numbfish, torpedo", | |
"stingray", | |
"cock", | |
"hen", | |
"ostrich, Struthio camelus", |
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
def check_libjpeg_turbo(): | |
from PIL import features | |
return features.check_feature("libjpeg_turbo") | |
def check_pillow_simd(): | |
import PIL | |
return ".post" in PIL.__version__ |
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
#!/usr/bin/env python | |
import itertools | |
import math | |
import signal | |
import subprocess | |
import tempfile | |
import shutil | |
import time | |
import os |
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
#!/usr/bin/env python | |
import sys | |
import shutil | |
from typing import Optional, List, Tuple, Dict | |
import typer | |
from rich import print | |
from rich.columns import Columns | |
from rich.console import Console | |
from rich.traceback import install |
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 selenium.webdriver import Firefox | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.firefox.options import Options | |
import time | |
def getfit_submit(user, pwd, minutes, activity, intensity): | |
URL = 'https://getfit.mit.edu/user/login?current=team-fitness/home' | |
options = Options() | |
options.headless = True |
NewerOlder