There is a quick query for those of you who have a table full of duplicate values in a MySQL database. Sure, you can remove existing duplicate rows, attempt inserts only for unique values, and setup the table to block duplicate values from being inserted. However, using IGNORE with ALTER TABLE has drawbacks and you may want to tailor a DELETE statement instead. Know the risks and get your queries.

Having trouble with Firebug on Firefox? Here’s why. (more…)

Want to give All in One SEO pack access to WordPress roles that are not Administrators? Here’s a quick solution.

See the function

Here is a helpful function for WordPress theme designers and developers. You can remove the Featured Image controls when creating a post, in case you have something custom that you want to use.
Get the function

If you are attempting to learn Durandal JS and getting “Script error for: knockout” from their website’s HTML Starter Kit (producing a blank screen), here is your fix. (more…)

I just ran across a usage of Date.now() in a web application and noticed it throwing an error in IE8, our lowest common denominator of a browser. Here is a quick fix to make sure you get your number value back in all browser. see the script.

Popovers are useful for tooltips, notes, or other short messages. Bootstrap does a good job of its native popover tooltip, but needs a bit of help to work with a mobile device (since they don’t have hover). Cover all your bases

Embedding PDFs or other content into websites and web apps has become commonplace. Inevitably you will want to have menus that drop down over those PDFs or have some other element that can overlay the iframe that you place the PDF in.

Most browsers understand this desire and are happy to accommodate. Unfortunately, Internet Explorer in its many versions still does not handle this. Get the easy fix

When using JSLint or JSHint, you will get the "Missing radix parameter" error when using parseInt without a second argument. (more…)

With Twitter Bootstrap modals in either version 2 or 3, you can easily prevent the modal window from being closed with the escape key or by clicking on the black backdrop outside the window. see the code