Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -x
set -euo pipefail
exec 5<> $PWD/CONTAINER_WAIT
exec 3<> $PWD/CONTAINER_STDOUT
exec 4<> $PWD/CONTAINER_STDERR
truncate -s 0 /tmp/logger

Keybase proof

I hereby claim:

  • I am manugupt1 on github.
  • I am manugupt1 (https://keybase.io/manugupt1) on keybase.
  • I have a public key ASB5jDfEMaqJJjwJuq9i_l7Rqu08iTx3kBRTdk88B1boVwo

To claim this, I am signing this object:

@manugupt1
manugupt1 / flv_to_mp3.sh
Created February 5, 2014 10:10
This files rips audio from a flash file into an mp3 file
#!/bin/bash
#Install FFMPEG to use this script
mkdir ./Ripper
for i in *.flv;
do
res="./Ripper/"$i".mp3"
echo $res;
ffmpeg -i $i -vn -acodec libmp3lame $res
echo "Copying done"