I found a great web site the other day. WP-Snippets collects a bunch of useful snippets for WordPress devs. Check it out!
When moving this site, I used WordPress DBmanager plugin to back up my database. I had trouble finding the path to mySQL and the mysqldump.
The path to the “files” are as follows.
To mysqldump: /Applications/MAMP/Library/bin/mysqldump
To mysql: /Applications/MAMP/Library/bin/mysql
Hope it will help someone 🙂