Various ruby programs