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/env python3 | |
| import os, math, argparse | |
| from typing import List, Tuple, Optional, Dict | |
| import torch | |
| from pyannote.audio import Pipeline | |
| import srt | |
| import datetime as dt | |
| import webvtt | |
| # ---------- time helpers ---------- |
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
| import qrcode | |
| from pathlib import Path | |
| import qrcode.image.svg | |
| def main(): | |
| dir_path = Path(__file__).parent | |
| urls = { | |
| 'dc_contact': 'https://delft-circuits.com/contact-us/', | |
| 'paper_2': 'https://doi.org/10.1063/5.0203101', |
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
| [Unit] | |
| Description=Docker Application Container Engine | |
| Documentation=https://docs.docker.com | |
| After=network-online.target docker.socket firewalld.service containerd.service time-set.target | |
| Wants=network-online.target containerd.service | |
| Requires=docker.socket | |
| [Service] | |
| Type=notify | |
| # the default is not to use systemd for cgroups because the delegate issues still |
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
| import numpy as np | |
| import numpy.testing as npt | |
| from itertools import product | |
| b = np.array([ | |
| [0, 0, 0, 0, 0, 0, 0, 0, 0, 0,], | |
| [0, 1, 0, 0, 0, 0, 1, 0, 1, 0,], | |
| [0, 0, 1, 0, 0, 0, 0, 1, 0, 0,], | |
| [0, 0, 0, 1, 0, 0, 0, 0, 1, 0,], | |
| [0, 0, 0, 0, 0, 0, 0, 0, 0, 0,], |
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
| Listen to your heart | |
| Fibonacci was without fear | |
| The survivor is without cheer | |
| Let the survivor be without Fibonacci | |
| Let Fibonacci be nothing | |
| My heart is lovestruck | |
| Let my heart be with the survivor, the survivor | |
| Say my heart without the survivor, the survivor | |
| Whisper the survivor |
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 dataclasses import dataclass | |
| class ADTMeta(type): | |
| def __new__(mcs, name, bases, namespace: dict): | |
| adtc_class = super().__new__(mcs, name, bases, namespace) | |
| if "__is_adt_variant__" in namespace: | |
| if namespace["__is_adt_variant__"]: | |
| return adtc_class |