Skip to content

Instantly share code, notes, and snippets.

Avatar

Clark Wang clarkorz

View GitHub Profile
@clarkorz
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');
View gist:900fd71065a9aa11bac7d241dfbf64ae
### Keybase proof
I hereby claim:
* I am clarkorz on github.
* I am clarkorz (https://keybase.io/clarkorz) on keybase.
* I have a public key ASATxSIiNGE-9RNwxAHMFzF3TijzHr6jwqlUumcvRnSh_Qo
To claim this, I am signing this object: