Have you ever wanted to deploy a piece of software quickly on Rackspace Cloud Servers? You’ve probably seen various utilities like Fabric or Chef. I wanted a web interface for people to use so I wrote Deploy-itron about two years ago.
Category Archives: Code
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.
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.
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" firstname.lastname@example.org
worked with mail but would only set the subject.
sendmail -f "email@example.com" firstname.lastname@example.org
worked with sendmail but would only set the “from”. With a little help from Google I put this together: