Apple has iWatch already in production, report says
Posted by Stanislav Furman on April 30, 2014Regular expressions? What's that?
Posted by Stanislav Furman on April 29, 2014IE users risk having their computers hacked and taken over
Posted by Stanislav Furman on April 28, 2014Unix shell commands to detect a DDoS attack and its source
Posted by Stanislav Furman on April 25, 2014This password is already in use. Old school security fail.
Posted by Stanislav Furman on April 23, 2014RIP Nokia? Microsoft renames Nokia to Microsoft Mobile
Posted by Stanislav Furman on April 21, 2014What Is the Heartbleed Encryption Bug?
Posted by Stanislav Furman on April 11, 2014Redis: How to delete keys matching a pattern
Posted by Stanislav Furman on April 10, 2014Sometimes you might want to purge a set of similar Redis keys in one shot. So far, standard Redis "DEL" command does not allow to remove keys using patterns. However, there is a trick to do this action. Execute the following command in bash:
redis-cli -h [host] -p [port] KEYS "prefix:*" | xargs redis-cli DEL
Seems clear? Wait a minute! What if you use multiple databases (keyspaces) and need to remove keys from a database different from default (0) one? No problem there! Here is the solution:
Continue reading