Skip to content

Instantly share code, notes, and snippets.

View ebb-earl-co's full-sized avatar

Colin Coe ebb-earl-co

  • Denver, CO
View GitHub Profile
@ebb-earl-co
ebb-earl-co / retrieve_ffmpeg_for_windows.py
Created March 31, 2024 21:40
Download and Verify Checksum of Windows FFmpeg Build
import hashlib
import http
from io import BytesIO
from pathlib import Path
import shutil
import sys
import urllib.request
from zipfile import ZipFile
FFMPEG_BUILD_URL: str = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip"
@ebb-earl-co
ebb-earl-co / pyenv-ubuntu-22.04.sh
Last active March 16, 2023 17:34
Multiple Versions of Python using Pyenv on Ubuntu 22.04
# First, the system dependencies needed from APT;
# Pyenv downloads the source tarball from the Python
# project, and compiles it, so the necessary libraries
# for `python3` must be installed on Ubuntu. For example,
# libsqlite3-dev is a dependence because Python3 includes
# sqlite3 as a default module. Also for example, asking pyenv
# for python 3.9 outputs the following log message:
# Downloading Python-3.9.16.tar.xz... -> https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tar.xz
sudo apt-get update -qq && \
@ebb-earl-co
ebb-earl-co / wordle_possibilities.py
Last active May 5, 2022 17:12
Wordle Wily Word Whittler
from collections import defaultdict
from functools import partial
from pprint import pprint
from typing import Callable, Dict, Generator, Iterable, Iterator, List, Tuple
import sys
secret_word_possibilities: List[str] = \
['aback', 'abase', 'abate', 'abbey', 'abbot', 'abhor', 'abide', 'abled',
'abode', 'abort', 'about', 'above', 'abuse', 'abyss', 'acorn', 'acrid',
'actor', 'acute', 'adage', 'adapt', 'adept', 'admin', 'admit', 'adobe',
@ebb-earl-co
ebb-earl-co / keybase.md
Last active October 24, 2019 17:21
Re-prove identity after GitHub username change

Keybase proof

I hereby claim:

  • I am ebb-earl-co on github.
  • I am scousertrousers (https://keybase.io/scousertrousers) on keybase.
  • I have a public key whose fingerprint is BAD8 3FF2 B258 09C3 F69F CDB0 212B 81CC C753 A4C4

To claim this, I am signing this object: