Tools

It is a good idea to block access to .svn directories if you are using Subversion. Otherwise, anyone can read the files. Add the following snippet to your .htaccess file (in root directory of the website).

See Block access to .svn directories using htaccess Snippet

This is the command to restore a MySQL database.

To restore it on a local computer, follow this process:
1) Open the command line (Windows, Linux or Mac)
2) cd (change directory) to the directory where the mysql.exe is located. This is likely to be in a bin directory. For example, with WAMPserver, mysql.exe is located here:
c:\wamp\bin\mysql\mysql5.0.45\bin

See Restore local MySQL database Snippet

WAMP and Skype Conflict

Blog Post

I have just discovered a conflict between Skype and WampServer that I thought I would share. They both use port 80 which causes the conflict. If you run Skype before running Wamp, then Apache will not run. If you go to a site on localhost, you will probably get a blank screen.

Read WAMP and Skype Conflict

Restore MySQL database in WampServer

Blog Post

If you are running WampServer on your local machine, it can be a bit tricky to restore a MySQL database. You need to do it from the Windows command line (DOS prompt), rather then the MySQL console command line. The actual MySQL restore command is slightly different to normal and you need to make sure you are in the right directory first.

Read Restore MySQL database in WampServer

Firefox Screen Grab Plugin

Blog Post

One of the most annoying things in the world is trying to create a screen grab of a web page when the page does not fit on the visible screen. It involves hitting "Print Screen", pasting into a graphics programme, and then scrolling down to grab the lower part of the page, and then joining the 2 together. Do that a few times and you will soon get sick of it!

Read Firefox Screen Grab Plugin

My 5 favourite Firefox Add-ons

Blog Post

One of the best things about Firefox is the vast array of add-ons/extensions/plug-ins to make your life easier. Some are absolute life savers, while some are time wasters. Here are my top 5 Firefox add-ons of all time:

Read My 5 favourite Firefox Add-ons
Syndicate content