find .*nef -exec dcraw -w {} \;
find ./dsc_0*ppm -exec convert {} {}.jpg \;
Friday, July 24, 2009
Convert pictures from fancy cameras
Use dcraw to convert raw images (e.g. .nef) to something more useful for simple people like me.
Monday, July 20, 2009
Resetting a mysql root password
*sigh* again!
1. Stop the mysqld daemon process.
2. Start the mysqld daemon process with the --skip-grant-tables option.
3. Start the mysql client with the -u root option.
4. Execute the UPDATE mysql.user SET Password=PASSWORD('password') WHERE User='root';
5. Execute the FLUSH PRIVILEGES; command.
From: http://www.tech-faq.com/reset-mysql-password.shtml
1. Stop the mysqld daemon process.
2. Start the mysqld daemon process with the --skip-grant-tables option.
3. Start the mysql client with the -u root option.
4. Execute the UPDATE mysql.user SET Password=PASSWORD('password') WHERE User='root';
5. Execute the FLUSH PRIVILEGES; command.
From: http://www.tech-faq.com/reset-mysql-password.shtml
Subscribe to:
Posts (Atom)