Skip to content

Instantly share code, notes, and snippets.

Avatar

Oben Interactive obeninteractive

  • Oben Interactive
  • Internet
View GitHub Profile
@obeninteractive
obeninteractive / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@obeninteractive
obeninteractive / command-line-convert-png-to-jpg.txt
Last active Mar 10, 2020
convert png to jpg (alpha remove)
View command-line-convert-png-to-jpg.txt
//please open terminal (Ctl + Alt + T) & put this command line
convert file.png -background white -alpha remove file.jpg
@obeninteractive
obeninteractive / ubuntu-compress-mp4-files-command-lines.txt
Last active Mar 28, 2020
Ubuntu - Compressing mp4 files using command line
View ubuntu-compress-mp4-files-command-lines.txt
for f in *.mp4; do echo "Converting $f"; avconv -i "$f" -acodec mp2 -r 25 ./"${f}"-opt.mp4; done
@obeninteractive
obeninteractive / ubuntu-convert-mp4-to-mp3
Created Aug 19, 2019
Convert mp4 into mp3 using command line
View ubuntu-convert-mp4-to-mp3
ffmpeg -i file.mp4 -vn \
-acodec libmp3lame -ac 2 -ab 160k -ar 48000 \
file.mp3
You can’t perform that action at this time.