tales of failure and woe

No public Twitter messages.

 

Archive for March, 2007

managing ssh keys with capistrano

Friday, March 16th, 2007

I did a lightning talk at MountainWest RubyConf 2007 covering how we use capistrano at Integrum to manage ssh keys for some of our Xen servers. Please note that this works for a single user sharing multiple keys. Here is how it’s done.
Create your directories:

1
2
3
4
5

mkdir sshkeys
cd sshkeys
mkdir config
mkdir keys

Now the recipe.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

# config/deploy.rb
role :app, [...]

flight delay + running geeks = reese’s pieces

Thursday, March 15th, 2007

So tonight we are flying out to MountainWest RubyConf 2007, or rather trying to fly. We just got booted off the plane because of some mechanical problem and had to run to the other side of the airport, only to be told we needed to wait another 30 minutes before we could start boarding. [...]

Mountain West Ruby

Wednesday, March 14th, 2007

Tomorrow night I leave for Mountain West Ruby. I can’t wait to meet some of the southwest’s greatest Ruby and Rails gurus. I’ll try not to be too much of a fanboy.

CerealBar Phoenix

Wednesday, March 14th, 2007

So today I attended a local event called CerealBar Phoenix. There were some great guys from the local startup / web dev community out and we had some really great, yet laid back, conversation. It’s good to see that there are some smart yet community-minded people in the Phoenix area who are willing [...]

automatically calling acts_as_state_machine events on update

Tuesday, March 6th, 2007

I have used acts_as_state_machine in a few client projects and have recently run across a need on a couple of them to allow RESTful updates to change states, easy enough except I want to be able to call the appropriate events and make the proper transitions if they are possible. So I came up [...]