anonymous/gist:4464342
Created
| require 'redis' | |
| require 'json' | |
| require 'time' | |
| r = Redis.new | |
| r.lrange('feedl', 0, -1).each do |item| | |
| item = JSON.parse item | |
| if item['type'] == 'twitter' | |
| p "#{item['d_id']} #{Time.parse(item['time'])} #{Time.parse(item['time']).getlocal} #{item['data']['content']}" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment