Recent Posts

How to get external configuration in Spring

1 minute read

Sometimes we have some configuration data that we need in our code, that can be changed periodically, like mail server information, proxy server, etc. We can...

Enable accented characters on Mac OSX

less than 1 minute read

I used to be able to type accented characters on Mac OSX by long pressing the character I want to accent. But this functionality was somehow gone after an OS...

Adding Swagger to Kotlin Spring

1 minute read

Spring makes it extremely easy to create REST api, but as a consumer of APIs, we need documentations to know what is available and how to use it. That’s wher...

Upgrade Angular project from v11 to v13

less than 1 minute read

I’m slow…. It’s been a while since I last touched my Angular repository, that was created in early 2020, running on Angular 11. When I just went back to it y...

How to create generic JPA repository

1 minute read

Generics makes it possible to reuse code, which is great. But when it needs to apply on a JPA repository, it can get messy. As any small mistake is going to ...