By: Sagar Chamling
sudo apt install git
| #!/data/data/com.termux/files/usr/bin/zsh | |
| # | |
| # This is a termux-url-opener script to do diffrent tasks on my Android phone | |
| # | |
| url=$1 | |
| echo "What should I do with $url ?" | |
| echo "y) download youtube video to movies-folder" | |
| echo "u) download youtube video and convert it to mp3 (music-folder)" | |
| echo "s) download with scdl (soundcloud)" |
| server { | |
| listen 80; | |
| server_name localhost; | |
| root /Users/YOUR_USERNAME/Sites; | |
| access_log /Library/Logs/default.access.log main; | |
| location / { | |
| include /usr/local/etc/nginx/conf.d/php-fpm; | |
| } |