If the inspector is open in docked mode, interaction within the webkit content window – typing text into an input, using a menu, selecting text – causes it to frantically scroll downwards.
via BogoJoker » Improving the Web Inspector.
…Glad I’m not the only one that noticed that behavior!
Ever wanted to sort your MySQL results by several columns?
SELECT * FROM orderspecs ORDER BY height, depth, width;
Now what if you want the columns to have different sort orders in the sub-sorted columns? No problem. Just specify the order for each column.
SELECT * FROM orderspecs ORDER BY height DESC, depth ASC, width DESC;
Gotta love it… A Chrome experiment called “Google Gravity” I totally love it. Works in Safari 4 and somewhat in FireFox as well.
I was pulling my hair out trying to figure out why I was getting a parse-error with this code… DUH!
document.getElementById('test').class = "test"
“class” is a reserved name, of course… So you access it with:
document.getElementById('test').className = "test"
I was getting the following error when trying to use Plesk’s backup function:
ERROR Unable to open /opt/psa/var/apspkgarc/archive-index.xml
The solution is to visit the “Application Vault” under the “Server” tab of your Plesk interface. The file gets auto-generated at that point.
For more information on how to use Plesk’s backup feature, read this post