@echo off
:start
for /f "tokens=16" %%i in ('ipconfig ^|find /i "ipv6"') do set ip=%%i
curl -s -x socks5://127.0.0.1:1080 "https://dyn.dns.he.net/nic/update?hostname=xx.xx&password=xxxxxx&myip=%ip%"
choice /t 600 /d y /m "_ %date% %time% Waiting 600s"
goto start

curl -s隐藏进度条 -x代理
choice /t等待秒 /d默认回答y /m显示提示语

批量下载youtube某人所有视频的音频部分,上下班路上手机听。
you-get只能解析视频和播放列表。youtube-dl更专业更灵活。

安装Python3, ffmpeg
pip install youtube-dl
youtube-dl --extract-audio --audio-format mp3 --playlist-start NUMBER --ignore-errors http://xxxxxxx
youtube-dl -f mp4 https://www.youtube.com/watch?v=OGyisSvjQHY

http://www.youtube-dl.org/ https://www.ffmpeg.org/

微软onedrive 5T,看起来不错,debian8 挂载

wget https://www.moerats.com/usr/shell/rclone_debian.sh && bash rclone_debian.sh;
rclone config;
mkdir /root/od; rclone mount od:/ /root/od --copy-links --no-gzip-encoding --no-check-certificate --allow-other --allow-non-empty --umask 000 &
wget https://www.moerats.com/usr/shell/rcloned && nano rcloned;
mv rcloned /etc/init.d/rcloned;chmod +x /etc/init.d/rcloned;
update-rc.d -f rcloned defaults;bash /etc/init.d/rcloned start;

如果服务启动失败,修改脚本删除sudo

nano /etc/init.d/rcloned

来自 https://www.moerats.com/archives/491/