Author Archives: Ian Dunn
Switching to a Dvorak Keyboard
jQuery document.ready() Fires Twice
There’s a bug in jQuery 1.4.3 that causes document.ready() to fire twice if there’s an unhanded exception. You can avoid it by wrapping the code that is throwing the exception inside a try/catch block.
Comprehensive WordPress Multisite Migrations
Installing Additional Software on Endian Firewall
Using the Underscore in MySQL Queries
The underscore is a special character in MySQL, and it can be used to match any character in comparison operations. If you’re not aware of this, it can throw you off when trying to search for it inside records.
Backing Up Files and MySQL Databases on Linux Servers
You’d think I’d have this memorized by now, but I always mess up the syntax and have to spend a few minutes digging through man pages or wading through search results to find it.
tar -czf [output-file.tar.gz] [input-directory]/
mysqldump -u [username] -p [database name] > [filename]
Adding reCAPTCHA to a Kentico Form
Google reCAPTCHA in a BizForm Tutorial shows how to use reCAPTCHA in a Kentico CMS form. Note my comment in the thread about needing to reference the reCAPTCHA library; if you don’t you’ll get an error saying that it can’t find the assembly.
Theme Metadata not Parsed Correctly
Developing Mobile Sites
myisamchk Error 22 on Windows
MySQL Service Crashes After Drive Failure
Associative Arrays in JavaScript
JavaScript doesn’t support true associative arrays, but because data types are defined as objects, the common syntax works. This is a bad practice, though. You should just create a new object.
Conflict Between Comodo Firewall and Cisco VPN Client
IE Pixelates Text During Javascript Animations
If you’re performing a JavaScript animation effect on an element (e.g., jQuery’s fadeIn/fadeOut), you may notice that the text briefly pixelates in IE. You can fix that by setting a background color on the element.