Delete all Redis keys

redis-cli KEYS "*" | xargs redis-cli DEL

Posted on November 1st 2011 by GG

Recursively add empty directories to git

for i in $(find . -type d -regex ``./[^.].*'' -empty); do touch $i"/.gitignore"; done;

Posted on October 3rd 2011 by GG

Flash policy server using Node.js

The following code serves the cross domain policy file, needed for flash socket connections…

Posted on October 2nd 2011 by GG

Exploring Redis

1. Introduction

1.1. What is Redis?

REmote DIctionary Server(Redis) is a key-value datastore created by Salvatore Sanfilippo. Redis can store rich set of datatypes including lists, sets, ordered sets and hashes in addition to strings. Redis provides many convenience methods that operate on these datatypes…

Posted on September 24th 2011 by GG

Redis - Command Reference

Click here to download Redis – Command Reference last updated on Sept 23, 2011.

Posted on September 23rd 2011 by GG