translating some ruby code to redis
Merge branch 'master' of https://github.com/edmore/agoatgo