Steve Hodgkiss

Steve Hodgkiss

Programming and unicorns


Featured

Sharing a screen session with other system administrators

Posted on .

Create a named screen session: steve@machine:~$ screen -S lhm Or, name your existing session: Ctrl-a :sessionname lhm Turn on screens multi user mode and give access to the root user: Ctrl-a :multiuser on Ctrl-a :acladd root Now any admin user can attach to th…

Featured

Testing Rails 3 generators with RSpec

Posted on .

Rails provides an easy way to test generators with test/unit, but what if you’re using RSpec? One approach is to use aruba to generate a new Rails app, run bundle install, run your generator then verify it did the right thing. The problem with this approach is…