Skip to content

Instantly share code, notes, and snippets.

@freemedom
freemedom / gist:ea74d923aa5040a62b80c6affa4d5473
Last active August 7, 2026 16:48
autodl 使用clash代理加速的办法
首先官方的这个https://www.autodl.com/docs/network_turbo/ source /etc/network_turbo 没什么用,还是得用自己的
然后下载https://github.com/nelvko/clash-for-linux-install
参照它给的安装命令即可
但是这个gh-proxy.org这个免费代理网站经常速度非常慢,所以建议在本地电脑上挂梯子下载好clash-for-linux-install-master.zip然后再ftp传到autodl
(还有后面下载的依赖mihomo-linux-amd64-v3-v1.19.27.gz也是同理)
然后,因为我在国外,我还需要把训练好的模型传到国外。我是用的github当个网盘/中转,用gh命令行把模型传到github release,然后我再在国外从github release上下载下来。github下载有时候有限速,限速到50KB/s,不过它不是一直限速这个,等几分钟速度会增加,所以就一直下着就行,会快一会慢一会
每次记得开启clashtun on
@freemedom
freemedom / comment.md
Last active January 9, 2023 06:19
Comments on a StackOverflow answer

I think some parts of this answer are not easy to understand, so I added some explanations.

The meaning of this answer is
physical block in the question >> should be logical block
logical block in the question >> should be virtual block


If the first (or zeroth) logical block of the file is Z, then the mapping from any virtual block to logical block N is N-Z.