Skip to content

Instantly share code, notes, and snippets.

@cxyzzz
cxyzzz / aria2.sh
Created March 14, 2020 23:30
Termux aria2c 启动脚本,包含更新 tracker,启动 AriaNg
#!/system/bin/sh
export LD_LIBRARY_PATH=/data/data/com.termux/files/usr/lib
export PATH=/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets
CONF=/sdcard/ADM/.config/Aria2/aria2.conf
NG=/sdcard/ADM/.config/AriaNg-1.1.4
start_service() {
if [[ "$(pidof 'aria2c')" == "" ]]; then
aria2c --conf-path="$CONF"
@wavezhang
wavezhang / java_download.sh
Last active December 3, 2025 23:54
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz
@staltz
staltz / introrx.md
Last active December 1, 2025 11:31
The introduction to Reactive Programming you've been missing