Archive for January, 2009

I gave her the API key to my heart
January 20, 2009

KEY = “asdasdjkdfgjk443534kjsdfs”
class Heart < ActiveResource::Base
self.site = “http://localhost:3000/”
self.element_name = “heart”
end
Heart.create({:key => KEY})

I just wanted to lay claim to this quote, because right now it’s not coming up in google, and I want credit

DNS Sync script for SliceHost
January 11, 2009

I needed to copy a bunch of zone files over to slicehost, and I really hate doing work I can automate. I wrote a quick script that will import a zone file from a BIND definition into slicehost.
You can find it at: http://pastie.org/357680
On another note, ActiveResource is REALLY cool.