Often I sync local WordPress sites with remote ones. There’s various — freemium — plugins that do this, but instead of adding bloat & spammy third-party plugin ads I wanted a simple, one-command solution. Shell to the rescue! Here’s a simple script that syncs your local database & uploads directory with your remote — and stores backups!
Import & export .bz2 MySQL database files with these simple commands — useful in automated shell scripts when you’re exporting from a remote DB then importing into another like your local.
Adding structured data (Schema markup) can be a powerful tool for SEOs. Google’s new FAQ, HowTo and Q&A Schema types provide great opportunities to improve organic search traffic with eye-catching, real estate-grabbing listing features.
Have an FAQ section on your site? Don’t forget to add Google’s FAQ schema for a nice boost in the SERPs. Check out this successful story from DistilledODN.
Did you know you can easily implement so scary hacks using CSS, like key-logging? Check out this post by Aaron Powell about some of his favorite misdeeds in CSS.