www.collazo.ws

A little nothing about something

Is the auto upgrade feature in your Wordpress broken?

With the recent security vulnerability announcement about Wordpress < = 2.8.3 and the subsequent availability of a Wordpress upgrade, I’ve taken to upgrading all of my Wordpress blogs. On a few of them, the auto upgrade feature didn’t work.

While researching a solution, I stumbled across a site that had some info on how to fix it. The solution presented on the site said to go into the wp-content directory and delete the directory named “upgrade”. I tried this and my auto upgrade still failed. As I continued looking for a fix, I found another site with a comment on the page that mentioned changing the memory settings for the running PHP process. I did that and my problem was solved.

[Read More →]

Palm Pre impressions

Disclaimer: I’m a Palm fanboy. I’ve had a Palm device in some form or fashion since the Palm OS 3.0 days. I think that I could still probably write in Graffiti if I needed to. It all started with a Handspring Visor Deluxe, upgraded into the Handspring Visor Edge, morphed into the Palm Treo 650 and finally my last PDA, the Palm Centro. Occasionally I would dip into the Microsoft WindowsCE, Pocket PC and Windows Mobile worlds but I always went back to my trusty Handspring or Palm devices. I even have carried a Blackberry simultaneously for work because I didn’t want to give up the features my Palm devices gave me. In addition to being a Palm enthusiast, I’m also a big fan of all things Apple. I have a first generation Mac Pro (dual dual-core Xeon), a Macbook (courtesy of my employer), and various iPod flavors. I’m also a Linux systems administrator (Gentoo, Red Hat, Fedora, Ubuntu, and Debian). With that said, here’s a somewhat biased review of the new Palm Pre.

I really like the Palm Pre. Even the service plan from Sprint. While Sprint isn’t my favorite provider, they have been much better from a service perspective than anytime I have had to deal with ATT. Everything you’ve read is true. It’s missing some features (not copy & paste but almost). There aren’t many things you can’t do with this phone.

[Read More →]

MediaTomb on a Mac Pro running OS X 10.5 (Leopard)

I had been looking at some commercial solutions to stream media from my Mac Pro running OS X 10.5 to my Xbox 360. I had tried Rivet but didn’t have any luck with it. While discussing streaming media solutions with a co-worker, he mentioned that I should try out MediaTomb and get it streaming to my PS3. Luckily I didn’t have to do much to get it installed. I have MacPorts installed so installing MediaTomb was as simple as running:

[Read More →]

Funny Conversation

Yesterday someone sent me an email that was written in Spanish and made some references to me being his grandfather. For some reason, I usually get emails meant for other people to my Gmail account. They are usually meant for “Richard Collazo” or “Roger Collazo” or some other “Robert Collazo”. I usually just ignore them and if I keep getting email for that person, I politely respond and say that I’m not the droid they’re looking for and they go on their merry way.

[Read More →]

Putting subject & from in mail from command line

I couldn’t figure out how to send an email with both the subject and from set from the command line.

  1. mail -s "my subject" example@foo.bar

worked with mail but would only set the subject.

  1. sendmail -f "sender@foo.bar" receiver@foo.bar

worked with sendmail but would only set the “from”. With a little help from Google I put this together:

[Read More →]

Postfix mailq search

I couldn’t find a script to search the Postfix mail queue so I wrote one. It’s a bash script and can be downloaded here (or just copy and paste it to file of your choice). I call it ssubject.sh. It ends up just spitting out the queue id’s of messages that match. Usage: “ssubject.sh “some words to look for”

[Read More →]