Skip to content

Instantly share code, notes, and snippets.

View XeonDead's full-sized avatar

Dmitriy XeonDead

  • Saint-Petersburg, Russia
View GitHub Profile
@XeonDead
XeonDead / yt-dlp-file
Last active July 30, 2024 14:09
yt-dlp-file
#!/data/data/com.termux/files/usr/bin/bash
function start_ciadpi {
~/bin/ciadpi -i 127.0.0.1 -p 10801 -s 1 &
export CIADPI_PID=$!
export -g extra_args=--proxy 'socks5://127.0.0.1:10801'
sleep 2s;
}
function stop_ciadpi {
@XeonDead
XeonDead / termux-url-opener
Created February 2, 2023 16:24
termux-url-opener
#!/data/data/com.termux/files/usr/bin/bash
if [[ $1 == *'magnet'* ]]
then
aria2c $1
termux-notification --title "aria2c" --content "Completed: $1"
else
echo $1 >> ~/yt-dl.list
fi