How to quickly install and start Kafka

3 Uncategorized Leave a Comment
Install and start Kafka is quite simple even on you local computer. Maybe you are thinking it must need lots of dependencies, but the fact is, it only needs Java. No database, no complicate configuration are needed, so you also no need to install Docker to run it. How to install and start Kafka Following are so…

MySQL REGEXP_REPLACE() function

31 Uncategorized Leave a Comment
Notice: Corrently, REGEXP_REPLACE() do not support \s. Here is an example of using MySQL 8+ regexp_replace(): > select regexp_replace('<div>Hello <b>world</b></div>', '<b>.*?</b>', 'MySQL', 1, 0, 'in') as result; +---------------------…

Quick start docker containers in one command

47 Uncategorized Leave a Comment
If you want start container as daemon, just add argument -d to the command If you want the container has a name, add argument --name <Container Name> MySQL Quick start MySQL from Docker, ~ docker run --rm -p 3306:3306 -e MYSQL_ROOT_PASSWORD=12345678 mysql The login info will be username: root password: 1…

Online RSS Feed validators

13 Uncategorized Leave a Comment
Here are some free RSS validator: W3C validator: W3C validator is for syndicated feeds. It supports validate by URI and also validate by direct Input. W3C feed validator works with RSS 0.90, 0.91, 0.92, 0.93, 0.94, 1.0, and 2.0. Enter the address of your feed or XML content and click “validate.” Errors will be …