Skip to content

Instantly share code, notes, and snippets.


Clark Wang clarkorz

View GitHub Profile
View gist:900fd71065a9aa11bac7d241dfbf64ae
### Keybase proof
I hereby claim:
* I am clarkorz on github.
* I am clarkorz ( on keybase.
* I have a public key ASATxSIiNGE-9RNwxAHMFzF3TijzHr6jwqlUumcvRnSh_Qo
To claim this, I am signing this object:
clarkorz / index.js
Last active Aug 29, 2015
sailsjs user hook for redis
View index.js
// api/hooks/redis/index.js
module.exports = function(sails) {
"use strict";
* Module dependencies.
var redis = require('then-redis');