Skip to content

Instantly share code, notes, and snippets.

View Aadityajoshi151's full-sized avatar
🏠
Working from home

Aaditya Joshi Aadityajoshi151

🏠
Working from home
View GitHub Profile
@Aadityajoshi151
Aadityajoshi151 / docker-compose.yaml
Last active April 27, 2023 05:49
openspeedtest
version: '3.3'
services:
speedtest:
restart: unless-stopped
container_name: openspeedtest
ports:
- '3000:3000'
- '3001:3001'
image: openspeedtest/latest
version: '3'
services:
app:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
version: "3"
services:
yacht:
container_name: yacht
restart: unless-stopped
ports:
- 8000:8000
volumes:
- ./yacht:/config
- /var/run/docker.sock:/var/run/docker.sock
@Aadityajoshi151
Aadityajoshi151 / Misc
Last active February 16, 2023 16:55
Miscellaneous useful commands
// yt-dlp command for downloading channel videos before date yyyymmdd
yt-dlp -f 'bv*[height>=720]+ba' --download-archive <channel-name>.txt <url of videos page of channel> -o '%(channel)s/%(title)s.%(ext)s' --datebefore 20190201
// yt-dlp command for download youtube video as mp3
yt-dlp -f 'ba' -x --audio-format mp3 <url>
// Command for VMware on Linux:
cd /tmp
wget https://raw.githubusercontent.com/rune1979/ubuntu-vmmon-vmware-bash/master/wm_autoupdate_key.sh
chmod +x wm_autoupdate_key.sh
sub-color='#f1f743' # Subtitle color
--fs #Start the video in fullscreen