Skip to content

Instantly share code, notes, and snippets.

@gotwalt
Created October 4, 2012 23:16
Show Gist options
  • Save gotwalt/3837068 to your computer and use it in GitHub Desktop.
Save gotwalt/3837068 to your computer and use it in GitHub Desktop.
Late night code comments
# how many posts to we rip on the daily?
def count
# say me say many moni, say me say manymanymany
redis.zcount(key, '-inf', '+inf')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment