Ruby scripts to calc calendar.