title: Redis Bit Select All Keys With Offset Value of 1
body: <p>If I have a series of keys representing bitmaps in Redis, how can I get a list of all keys whose n bit value is equal to 1. For example, I have the following bitmaps:</p>
  
  <pre><code>keyname:20140418:item1: 000111...0010
  keyname:20140418:item2: 000101...1010
  keyname:20140418:item3: 100011...0010
  </code></pre>
  
  <p>I want to get the list of all items whose first value is 0 which would result in:</p>
  
  <pre><code>keyname:20140418:item1
  keyname:20140418:item2
  </code></pre>