This is a list of my “must-have” Mozilla Firefox add-ons. If you can recommend anything similar or better, be sure to drop me a comment. Page Analysis & SEO Minimise Nuisance Bookmark Management Download Management Productivity Web Development & Design Security Functional Extensions Tab Management Add-Ons Management Page Analysis & SEO About This Site Bookmarks [...]
Monthly Archives: July 2007
Recommended Mozilla Firefox add-ons (aka extensions, aka plugins)
scp Usage
Secure File Copy (scp) allows you to copy files between hosts using the SSH protocol. To copy from a remote host to your current host PLAIN TEXT PERL: scp -r user@remotehost:path/to/remotefiles localtarget #-r recursive copy #you will be prompted for user's password @ remotehost To copy files from your current host across to the [...]
Selecting a random row using MySQL
There are many examples where you would need to retrieve a random record or more from a set of tables. For example your page template may be cycling through QOTDs, testimonials, offers, specials, and so forth. To retrieve a random row in MySQL, use the ORDER BY RAND() statement to randomly order the rows of [...]
PHP code snippet – Reorder items in a table
This snippet of code reorders items in a table based on the number of steps you want to move an item from its current position. It moves the item of interest to its new position and shifts all other items to their new shifted positions. PLAIN TEXT PHP: function moveItem ($n_steps) { if ($n_steps == [...]
svn – Ignore/exclude files from version control
In most projects there are going to be files that you wish to ignore in version control. These could be temporary files, log or debug files, and so forth. These are files that you can safely ignore when executing commands such as svn commit and svn st. The following shows how to configure your svn [...]
