Someone recently asked me if I knew of a web based uploader that returned the Akamai CDN URL of the file. I looked around and found this site but it wasn’t quite what was wanted. I decided to edit the code in the example from that site and came up with this.
Read more »
Uploading to Rackspace Cloud Files with PHP
Using Rackspace DNSaaS with curl (part 1)
With the release of Rackspace DNSaaS (blog post here), I thought I would put together some examples of using curl with the service. With this release, you now have programmatic access to DNS via the API where you can set TTLs, create and delete various record types, and create and delete domains.
Read more »
Edge Purge Content from Rackspace Cloud Files via curl
When the Rackspace Cloud Files product received Edge Purge functionality via the API, I didn’t give it much thought as I didn’t use the CDN functionality for any of my personal projects. That changed recently and I started doing some work with the CDN (powered by Akamai). All was fine until I realized I had set the TTL for the objects too high for my testing and wasn’t receiving the right content. Below you’ll find the appropriate methods for doing an edge purge of an object and container via curl using the API.
Read more »
A Day I Will Never Forget
There are some events that stay with a person for the rest of their life – moments where a person says “I remember where I was when that happened.” There have been several of these events in my lifetime. Sure, I remember some things about John Lennon’s death and the attempted assassination of Ronald Reagan. I definitely remember where I was when the Space Shuttles Challenger and Columbia exploded, and when the First Gulf War started.
Perhaps the one event in recent memory that has affected me most though is the attacks of September 11, 2001. I still can’t watch news footage from that day or hear the recollection of those directly affected without choking up. There are many things that occur daily in the United States of America but nothing like what happened that day. That event changed the life of a lot of people. As we approached the 10th anniversary of the attacks, I still thought of where I was on that day. Usually, random thoughts will pop in to my head when I see an airplane overhead or walk in to an airport.
Read more »
Why work for Rackspace?
This is a post I originally wrote for my employer, Rackspace Hosting. You can find it here.
Lately, I’ve had several friends approach me about working at Rackspace. When I ask them why they want to work here, they seem surprised that I would ask.
“Why wouldn’t I?” is the response I most often hear. When they say that I reply with:
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.
-
mail -s "my subject" example@foo.bar
worked with mail but would only set the subject.
-
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 »
