Warning: This hasn’t been updated since 2011. It should still be somewhat useful, but you’ll likely need to do additional research and testing on changes since then. Migrating multiple standalone installations of WordPress into Multisite can be relatively easy if you don’t need it to be perfect. The Codex has a basic guide and Stephanie […]
Installing Additional Software on Endian Firewall
Endian doesn’t ship with gcc, apt or yum, so it can be kind of confusing at first if you’re trying to figure out how to install some extra packages. It comes with Smart Package Manager, which you can use to install CentOS binary RPMs from http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/ (CentOS 4) or http://mirror.centos.org/centos/5/os/i386/CentOS/ (CentOS 5). Try the version 4 first. […]
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
If you create a style.css file for a WordPress theme on a Mac OSX server it will use Mac line breaks (\r) instead of Unix (\n) or Windows (\r\n) ones. get_theme_data() won’t parse the metadata correctly, and it will be look messed up in the admin panel, or break the theme entirely. If your text […]
Developing Mobile Sites
If a client wants their site to be mobile-friendly (and is actually willing to pay for it), then the best way is to create a separate site designed specifically with mobile users in mind. Little Springs Design discusses this in their article about Mobilizing vs Miniaturizing. If the client’s on a tight budget then you’ll […]