Fix LocalDateTime Serialization with Redis & Spring Boot Cache

Fix LocalDateTime Serialization with Redis

Overview Recently, I added Redis as the cache manager for my web app (https://ukata.io). There is an error regarding JSON LocalDateTime parsing like this: Mind you, I’ve already added the following dependency in my pom.xml file: But I still got that error. I use Spring Boot 3.0 for this project FIY. So, how to fix … Read more

Redis Command CheatSheet

Redis Command CheatSheet

Data Initialization Here is the cheatsheet to initialize different Redis data types: I was able to set the values for different data types. However, when I tried to use GET on a datatypes other than String, I got an error: “(error) WRONGTYPE Operation against a key holding the wrong kind of value”. Key Commands String … Read more

Create Git Aliases On PowerShell 7

Create Git Aliases On PowerShell 7

Overview Using aliases saves you time and helps you avoid typos. On my daily work as a developer, I have to issue git commands many times. Thanks to aliases, I can avoid many mistakes when typing commands. On Linux/Mac, it is super easy to create aliases with your bashrc/zhsrc file. However, you need extra work … Read more