Me and My Friend ZADD
poem.txt This is my friend His name is ZADD He's is a lad Who's always SADD It's really bad That ZADD is SADD I don't know why And that makes me SCARD I hope that he Will be someday glad And that...
View ArticleRedis ASCII logos
orginal-redis-server-logo.txt _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 999.999.999 (3f9e2322/0) 64 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-`...
View ArticleKeybase.io proof of identity
keybase.md Keybase proof I hereby claim: I am itamarhaber on github. I am itamarhaber (https://keybase.io/itamarhaber) on keybase. I have a public key whose fingerprint is 94E5 0F40 576C 29EA A92A...
View ArticleA friend forwarded me this and swears this is a real email. I read it it like...
acme-voynich.md To: all@acme.org From: fjg332@acme.org Subject: Organizational challenges Hi, As CDO of this company, it is my job to also to organizate because that's what the big-O in my title is...
View ArticleThreaded Redis PubSub demonstration in Python w/ redis-py
pubsub.py # Demonstrates PubSub import threading import redis class Listener(threading.Thread): def __init__(self, r, p): threading.Thread.__init__(self) self.redis = r self.pubsub =...
View ArticleA somewhat optimized scripted approach to complementing Redis with a...
setbitrange.lua --[[ Sets a bitmap range Bitmaps are stored as Strings in Redis. A range spans one or more bytes, so we can call `SETRANGE` when entire bytes need to be set instead of flipping...
View ArticleHappy Xmas!
xmas.lua local h,d,r=9, 0,{} while h>0 do local l='' h=h-1 for x=0, 38 do local a=x-6 if a<0 then a = -a end if a <= d then l = l .. '*' elseif (0.3/ (h+1)) > math.random() then l=l..'.'...
View ArticleSome thoughts about "Building a sliding window rate limiter with Redis"
some_thoughts.md Reading Building a sliding window rate limiter with Redis, and w/o addressing the actual logic (which may or may not work). Optimize by: Lua seems a much better choice: idiompotent,...
View ArticleEdgexfoundry and Redis for Core Data PoC
edgex-go-redisdb.md Edgexfoundry and Redis for Core Data PoC Objectives Implement the Redis client for edgex-go core data client tests/benchmarks Compare between TCP, UDS and embedded Redis...
View ArticleNaively call RedisTF from Python with redis-py
README.md Clone, sh get_deps.sh, and make run https://github.com/lantiga/RedisTF pip install redis tensorflow cd models Run python tf-minimal.py to prepare a minimal graph The attached redistf-py.py...
View Articleacl-app-profile.md
acl-app-profile.mdACL v6RC1 default app profileThe purpose of this exercise is to define a "default" application ACL profile that can access the all the data without being able to cause too much...
View Articlestructor mkdocs
docs.DockerfileFROM alpineENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/binCOPY requirements.txt /mkdocs/WORKDIR /mkdocsRUN apk --update upgrade \&& apk...
View ArticleRedis 6.0 & 6.2
part1.mdRedis 6.0 GA Apr 30, 2020Access Control List (ACL)Redis Serialization Protocol 3 (RESP3)Client Side Caching (CSC)SSL (#WontFix)Better expiry!!!Diskless replication!11more!!!111one...
View ArticleDump a Redis key in TCL binary string encoding
tcl-dump.lua-- DUMPs a Redis key in TCL-compatible binary string encodinglocal b = redis.call("DUMP",KEYS[1])local s =""for i =1, string.len(b), 1do s = s...
View ArticleRedis key to hashslot in Lua
hashslot.lua This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode...
View Article