Thursday, August 9, 2012
download youtube files with youtube-dl-tci
curl -s "http://www.youtube.com/playlist?list=UUuqxLlNgdBCqhTxphhhTbZg&page=2" | grep watch? |cut -d\= -f3 | cut -d\& -f1 | grep -v data | grep -v watch | while read file ; do youtube-dl -tci "http://www.youtube.com/watch?v=$file" ; done
Wednesday, August 8, 2012
Install μTorrent in Ubuntu
wget http://download.utorrent.com/linux/utorrent-server-3.0-25053.tar.gz
sudo cp utorrent-server-3.0-25053.tar.gz /opt/
cd /opt/
sudo tar -xvf utorrent-server-3.0-25053.tar.gz
sudo rm -rf utorrent-server-3.0-25053.tar.gz
sudo chmod 777 -R utorrent-server-v3_0/
sudo ln -s /opt/utorrent-server-v3_0/utserver /usr/bin/utserver
Create a launcher in panel. In name field type utorrent and in command filed type 'utserver -settingspath /opt/utorrent-server-v3_0/ &'
Go to localhost:8080/gui and for user name type admin and password leave it empty.
sudo cp utorrent-server-3.0-25053.tar.gz /opt/
cd /opt/
sudo tar -xvf utorrent-server-3.0-25053.tar.gz
sudo rm -rf utorrent-server-3.0-25053.tar.gz
sudo chmod 777 -R utorrent-server-v3_0/
sudo ln -s /opt/utorrent-server-v3_0/utserver /usr/bin/utserver
Create a launcher in panel. In name field type utorrent and in command filed type 'utserver -settingspath /opt/utorrent-server-v3_0/ &'
Go to localhost:8080/gui and for user name type admin and password leave it empty.
Start launch application in Ubuntu 12.04 Unity
sudo apt-get install gnome-panel
gnome-desktop-item-edit --create-new ~/Desktop
gnome-desktop-item-edit --create-new ~/Desktop
Sunday, August 5, 2012
Read text with voice in Ubuntu
espeak --stdout -f text.txt | aplay -> read with voice file text.txt
espeak -v en-uk --stdout 'some text' | aplay -> read with voice some text
espeak --voices -> display all available voices
Solution when sound in stuttering in Ubuntu
1. lsof | grep pcm
2. kill all the processes and the sound will work fine
2. kill all the processes and the sound will work fine
Subscribe to:
Posts (Atom)