redis-cli --raw KEYS '*' | xargs redis-cli MIGRATE my.redis 6379 "" 0 5000 AUTH password-here KEYS
All credits go to this post in stackoverflow: https://stackoverflow.com/questions/37166947/copying-all-keys-in-redis-database-using-migrate
First, install java version above 11.
Then config your settings.json file configuration for vscode.
If you are using linux, it will be in
add the below config with your…
If you’re like me, you probably notice that sometimes we’ve tried to learnt a skill for months without any significant result, then boom, one day everything seem clicked and you we mastered that skill. It’s similar with the “10000 rules” in some way. Incremental change is real. …
For me, it’s about foosball time, or writing some code for testing, or implement a simple application in the language I’m learning.
What do I mean by life is about suffering? Your health might fail. Your parents might pass away. Your loved ones might cheat on you. There are many…