Skip to content

Instantly share code, notes, and snippets.

@swetoast
Last active July 15, 2024 06:47
Show Gist options
  • Save swetoast/32d382fc714f1bda0850bfe09d0cb09e to your computer and use it in GitHub Desktop.
Save swetoast/32d382fc714f1bda0850bfe09d0cb09e to your computer and use it in GitHub Desktop.
ubuntu-ports mirrorlist
http://ftp.tu-chemnitz.de/pub/linux/ubuntu-ports
http://ports.ubuntu.com/ubuntu-ports
https://mirror.kumi.systems/ubuntu-ports
https://mirrors.aliyun.com/ubuntu-ports/
http://mirrors.mit.edu/ubuntu-ports/
https://ftp.ubuntu-tw.org/mirror/ubuntu-ports/
https://mirror.yandex.ru/ubuntu-ports/
https://mirror.scaleuptech.com/ubuntu-ports/
https://mirrors.ustc.edu.cn/ubuntu-ports/
https://mirror.csclub.uwaterloo.ca/ubuntu-ports/
https://files.openstack.org/mirror/ubuntu-ports/
https://mirror.0x.sg/ubuntu-ports/
https://archive.eqx-media.nl/ubuntu-ports/
http://mirror.hk-net.de/ubuntu-ports/
https://mirror.ossplanet.net/ubuntu-ports/
http://mirror.liquidtelecom.com/ubuntu/ubuntu-ports/
https://mirrors.sustech.edu.cn/ubuntu-ports/
https://ftp.fau.de/ubuntu-ports/
https://ftp.uni-erlangen.de/ubuntu-ports/
https://ftp.lanet.kr/ubuntu-ports/
https://ftp.harukasan.org/ubuntu-ports/
https://mirror.aarnet.edu.au/pub/ubuntu/ports/
https://mirror.misakamikoto.network/ubuntu-ports/
http://mirror.anigil.com/ubuntu-ports
@swetoast
Copy link
Author

swetoast commented Jul 22, 2021

curl -s https://gist.githubusercontent.com/swetoast/32d382fc714f1bda0850bfe09d0cb09e/raw/f946fdee8b2d88792d9410b1b69eace15bb9e55c/gistfile1.txt | xargs -n1 -I {} sh -c 'echo `curl -r 0-102400 -s -w %{speed_download} -o /dev/null {}/ls-lR.gz` {}' |sort -g -r |head -1| awk '{ print $2  }'

To find a mirror better suited.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment