Tag Archives: wordpress

12 Signs That The Recession Has Hit The Internet


The United States economy is in a funk. Food prices are up, oil is through the roof, real estate has collapsed, and credit is becoming scarce. Here are 12 signs to look for when the recession hits the Internet:

  1. Digg.com moves their server over to Dreamhost
  2. Jeff Bezos delivers his TED talk with a GoldenPalace.com tattoo across his naked chest
  3. i can affordz cheezburger?
  4. Drew Curtis switches to Pabst Blue Ribbon
  5. For $20, Rick Astley will show up to do it in person.
  6. Woot.com starts accepting payment in Flooz
  7. Jeph Jacques sells all remaining ad space to Warner Music Group
  8. Nigerian spammer steals your identity, only to return it 3 days later when he finds out your credit score
  9. Scoble spruces up resume for sweet new gig as Hugh MacLeod’s intern
  10. StuffWhitePeopleLike? Liquidity.
  11. Guy Kawasaki trades in his MacBook for a Dell
  12. You hire a PHP Developer for $12 an hour through elance.com, and it turns out to be Matt Mullenweg

Up the WP

Give me WordPress, give me WordPress
You can have all the rest, give me WordPress

I love Matt’s little blogging engine that could. It’s easy, fast, and pretty to look at. It’s easy to install. It is not, however, fun to upgrade.

That’s a problem, because people keep on coming up with tricksy little ways to burninate WordPress. Now, the folks who write the code are pretty good at staying on top of chinks in the armor, but that means that every time they say “update”, I have to update. Being the lazy ass that I am, I don’t like to keep doing things the hard way, ftp’ing data up and down, so I wrote a little bash script to do the badness for me. Now, I can go from vulnerable to updated in 0.4 seconds flat!

Let me take just a second to give mad props to the WordPress folks for a simple decision they made early on, that makes a world of difference to guys like me: you will always, always find the latest version of WordPress at the same location:

http://wordpress.org/latest.zip

Simple, easy, but by avoiding all the complications of version numbering and folder locations in the download URL, they make it possible to write scripts like this. Thanks, guys!

If you don’t know how to use bash scripts, check out this tutorial: Bash it! Bop it! Script it!. It’ll show you where to put the script, how to make it executable, and how to call it from the command line. The script itself is in the download link below, and it’s pretty well documented, so you should be able to figure out why everything is there. Here’s a stripped down version, with none of the documentation:

#! /bin/bash
#
# =======================
# WordPress Upgrade Script 0.1
# Written by Command Line Idiot
# http://commandlineidiot.com
# You may use, modify, and redistribute this script freely
# Released: April 2008
# =======================
echo 'WordPress server location, without trailing slash (ex. /var/www/mysite.com/blog)'
read WPLOC
WPNEW='/tmp'
cd $WPNEW
rm -rf $WPNEW/wordpress
rm -f latest.zip
wget http://wordpress.org/latest.zip
unzip -o latest.zip
rm wordpress.zip
rm -rf $WPLOC.bak
cp -rv $WPLOC $WPLOC.bak
cp -rfv $WPNEW/wordpress/*.php $WPLOC/
cp -rfv $WPNEW/wordpress/wp-admin/* $WPLOC/wp-admin/
cp -rfv $WPNEW/wordpress/wp-includes/* $WPLOC/wp-includes/
exit

You can download the script here:

WordPress Update Script 0.1

Share and enjoy!