Redis, renowned for its blazing-fast performance and versatile data structures, offers a myriad of tools for developers to architect robust and scalable applications. At the heart of Redis lies its string data type, a foundational element empowering developers to craft efficient and dynamic solutions.
Unleashing Versatility: Redis strings transcend mere text storage, serving as dynamic […]
SET key value [NX | XX] GET [ EX | PX | EXAT | PXAT | KEEPTTL]
Let’s break down the options for the set commands in redis SET for save data key : key of value value : value of data optional keywords of SET (update, insert or update) NX : only set the […]
spring-boot-redis-jedis
Learning Spring boot using JEDIS
Prerequisites
Install Redis Stack Install Redis using Docker Script Install redis-stack on docker docker run -d –name redis-stack -p 6379:6379 -p 8001:8001 -e REDIS_ARGS=”–requirepass root” -v /path/your/local/machine:/data redis/redis-stack:latest
pom.xml
<dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis-reactive</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>io.projectreactor</groupId> […]
A locator is a way to identify elements on a page. It is the argument passed to the Finding element methods.
Type Locator Selenium
LocatorDescriptionBy.id(“IdHtml”)Locates elements whose ID attribute matches the search valueBy.name(“NameAtributeHtml”)Locates elements whose NAME attribute matches the search valueBy.xpath(“Path”)Locates elements matching an XPath expressionBy.className(“className”)Locates elements whose class name contains the search value (compound class names […]
Images vs Container An Images Is The Application We wan To Run A Container is an instance of that image running as a Process Running Nginx on Docker Running nginx on foreground
docker container run –publish 80:80 nginx
Docker engine will look image nginx, and pull from docker hub . Then started a new container […]
Tesseract is an optical character recognition engine for various operating systems. It is free software, released under the Apache License, Version 2.0, and development has been sponsored by Google since 2006. Tesseract is considered one of the most accurate open source OCR engines currently available Wikipedia
Image processing is widely used in helping to […]