$ sudo apt-get update
$ sudo apt-get install ruby ruby-dev make gcc
$ sudo gem install jekyll bundler
see source
$ sudo apt-get update
$ sudo apt-get install ruby ruby-dev make gcc
$ sudo gem install jekyll bundler
see source
@ECHO OFF | |
@ REM Download Audio from YouTube and encode to MP3 | |
TITLE Download YouTube MP3 | |
set /p url= "Enter Youtube URL:" | |
echo %url% | |
youtube-dl %url% --ignore-errors --format bestaudio --extract-audio --audio-format mp3 --audio-quality 160K --output %%(title)s.^%%(ext)s |
# Write to pickle | |
import pickle | |
filehandler = open(b"df_items.obj","wb") | |
pickle.dump(df_items,filehandler) | |
filehandler.close() | |
# Read | |
filehandler = open("df_items.obj",'rb') | |
df_items = pickle.load(filehandler) |
ps -ef | grep 'mybot' | grep -v grep | awk '{print $2}' | xargs kill -9 |
yt-dlp "https://www.youtube.com/watch?v=1Ut6RouSs0w" -o 1Ut6RouSs0w.webm
ffmpeg -ss 588.4 -t 15 -i 1Ut6RouSs0w.webm -y -c copy video-588.4-15-1Ut6RouSs0w.mp4