sqlrus.com
Adding A Procedure to Master | John Morehouse
A look at adding a stored procedure to the Master database so that you can reference it in any database context.