17th November 2008
in
Database, Multimedia, cli
This is a nice trick to easily access information about your multimedia files. Install the mplayer package then add the following to your ~/.bashrc file:
idmedia(){
mplayer -identify -frames 0 -ao null -vo null -vc du[...]
Tags: files, Multimedia
2 Comments
7th November 2008
in
Database
You forgot your MySQL password. No problem, you can recover it easily. Stop the MySQL service with
# /etc/init.d/mysql stop
…and restart it without a password:
# mysqld_safe –skip-grant-tables &
You’ll [...]
Tags: MySQL, passwords
2 Comments