Skip to content

Instantly share code, notes, and snippets.

@fukayatsu
Created May 19, 2012 16:57
Show Gist options
  • Save fukayatsu/2731494 to your computer and use it in GitHub Desktop.
Save fukayatsu/2731494 to your computer and use it in GitHub Desktop.
redis with coffee
redis = require 'redis'
rc = redis.createClient()
rc.on 'error', (err)->
console.log 'Error: ' + err
rc.set 'hoge', 'piyo', redis.print
rc.get 'hoge', redis.print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment