Skip to content

Instantly share code, notes, and snippets.

View gtarsia's full-sized avatar
🏠
Working from home

hello there gtarsia

🏠
Working from home
View GitHub Profile
@ushkinaz
ushkinaz / cygwin-mirror-speed.py
Last active February 22, 2025 23:45
Tests HTTP mirrors of Cygwin by measuring download times.
#!/usr/bin/env python3
"""
Script to test HTTP mirrors of Cygwin by measuring download times.
Originally written in 2011, modernized in 2025.
"""
from math import floor
from urllib.request import urlopen
import argparse
import sys