A quick self-signed certificate for local development

openssl req -x509 -sha256 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 Keep in mind: This is for local development. Put in additional safety for self-signed production certs. Optional: Add the location and company information via parameter so you don’t have to manually enter it: openssl req -x509 -sha256 -newkey rsa:4096 -keyout key.pem -out cert.pem… Continue Reading A quick self-signed certificate for local development

Sunama

As a big fan of Trello to organize my personal projects, I discovered¬†Sunsama today. I had always been missing a calendar to visualize when I would do every task, so I could plan ahead. That is precisely what Sunsama is. It’s Trello with a calendar integration. It’s a fairly new player, so I will give… Continue Reading Sunama

Duplicate/Copy a redis database

Recently I needed to copy a Redis database. After a bit of confusion it’s actually quite easy: redis-cli –raw KEYS ‘*’ | xargs redis-cli MIGRATE 127.0.0.1 6379 “” 1 5000 KEYS Explanation: “Get * (all) KEYS and pipe them as argument for the redis MIGRATE command onto the server on localhost listening on port 6379… Continue Reading Duplicate/Copy a redis database