Vim

edit the configuration files _vimrc


set tabstop=4
set shiftwidth=4
set expandtab
set autoindent
set smartindent
set textwidth=0
set nowrap
set number
set scrolljump=5
colorscheme koehler
set guifont=Consolas
set guioptions-=m "remove menubar
set guioptions-=T "remove toolbar
set guioptions-=r "remove scrollbar

linux convert youtube to mp3


#aptitude install youtube-dl ffmpeg libmp3lame

a simple bash script called youtube

#!/bin/bash
x=/tmp/youtube-dl-$RANDOM-$RANDOM.flv
youtube-dl --output=$x --format=18 "http://www.youtube.com/watch?v=$1"
echo "convert flv to mp3"
ffmpeg -i $x -acodec libmp3lame -ac 2 -ab 128k -vn -y "/home/paragasu/mp3/youtube/$2"
rm $x
echo "done"

the fun begin

$youtube linkname fileoutput.mp3


more