mkv to avi?

having problems with playing matroska codec on your dvd/divx player? convert it simply to something readable 🙂

user@machine:~/Videos$ aptitude install ffmpeg libmatroska0 mkvtoolnix mkvtoolnix-gui
user@machine:~/Videos$ mkvmerge -i movie.mkv
File ‘s-300.mkv’: container: Matroska
Track ID 1: video (V_MPEG4/ISO/AVC)
Track ID 2: audio (A_AC3)
user@machine:~/Videos$ mkvextract tracks movie.mkv 1:movie.mpeg4 2:sound.ac3

Then, use k3b to burn extracted files as DVD.

Forgotten mysql password?

or you received something like this?

ERROR 1045 (28000): Access denied for user ‘something’@’localhost’ (using password: NO)

– killall mysql services (killall mysql)
– mysqld_safe –skip-grant-tables &
– mysql -u root mysql
– UPDATE user SET password=PASSWORD(“wanted-password”) WHERE user=”root”;
– start mysql services (/etc/init.d/mysql start)