A very simple list (with Alfred and GeekTool)

Things you’ll need: Alfred with Powerpack and GeekTool.

The premise is simple: maintain a simple list with Alfred, use GeekTool to show it on your desktop.

The Alfred part will be a Keyword → Run Script Workflow. The keyword I’m using is list, with an argument required.
Continue reading A very simple list (with Alfred and GeekTool)

Automating Backups to Amazon S3

My Setup & Prerequisites

I’ve got a LEMP stack, that is Linux (ubuntu), Nginx, MySQL, and PHP. It’s pretty common, but this should also work just fine for other LAMP stacks.

I want to backup some databases as well as web files, including some non-WordPress stuff.

There are tools out there like BackupBuddy that might be perfectly sufficient for your needs, especially if you want access to support forums and such.

But I like to dig into server-y stuff. Doing it this way will require a few things

  • ssh access to your server
  • sudo permissions (usually…)
  • amazon s3 account
  • some basic familiarity with the command line

Continue reading Automating Backups to Amazon S3

Set your ichat status to your most recent last.fm play

I can’t really take credit for this, it’s just a slightly modified version of what’s available from this guy: http://atastypixel.com/blog/keeping-ichat-and-adium-status-in-sync-with-twitter/ You can use the instructions provided on that site to get this setup.

I increased the frequency and had to remove the tilde (~) from the path in the cronjob.
Continue reading Set your ichat status to your most recent last.fm play

Previous/Next Links for Pages in WordPress

If you ever need previous/next links for pages in WordPress, you may have noticed that it’s not a built in feature like it is for posts – at least as far as I can tell.

I suppose it’s understandable since pages don’t really have linear organization, but every now and then, the ability to simple click ‘next’ ‘next’ ‘next’ to cycle through some pages would be really handy. For instance, I work on a lot of sites for bed & breakfasts and they inevitably have a landing page for their rooms, then child pages for each individual room. These individual rooms pages often have “next room” and “previous room” links, plus one back to the main page. Continue reading Previous/Next Links for Pages in WordPress