Skip to content

Instantly share code, notes, and snippets.

View christopher-besch's full-sized avatar
💻
Prepare for unforeseen consequencesλ

Christopher Besch christopher-besch

💻
Prepare for unforeseen consequencesλ
View GitHub Profile
#!/usr/bin/env python3
import sys
from typing import List
SPACES_PER_TAB = 8
def main():
with open(sys.argv[1], "r", encoding="utf-8") as file:
in_lines = [line.rstrip() for line in file.readlines()]
@christopher-besch
christopher-besch / get_longest_videos_from_youtube_playlist.py
Created July 18, 2020 10:05
get a list with every video that is longer than or as long as every video coming after it
text = """
1
13:07
Now playing
Introducing the GAME ENGINE series!
The Cherno
2
16:23
Now playing
What is a GAME ENGINE?