GT's Blog
Code snippets, technical articles, tips on computing and programming...
Pages
(Move to ...)
Type in Nepali Unicode Romanized - Convert Roman Nepali to Unicode Tool
▼
GIT write useful commit messages
›
What's harder than choosing a variable name? IMO its composing a perfect code comment and commit message. Today we will discuss some bad...
KeyCloak docker-compose import realm file
›
Example of docker-compose for keycloak 18 with ability to import a realm file: It assumes the realm-export.json file is in /PATH_OF_realm-ex...
Kafka - a working docker-compose
›
Here's a working docker-compose that runs zookeeper, kafka and kafka-ui in same network. version : '3.8' services : zookeepe...
Spring Boot - shutdown and restart application programmatically
›
Today we will be discussing how to shutdown and restart a Spring application programmatically. 1) New Project First let's create a simpl...
Read Request parameter String from URL in Spring/HttpServlet
›
Read entire query string(request parameter) in Spring Boot/HttpServlet In Spring Boot and other Java web frameworks, we capture the request ...
GIT delete merged branches
›
How to delete merged branches from local copy: When you work on a project for a while, there is a good chance that you will have a list of o...
Java view,download,filter email using javax.mail
›
Java SDK doesn't come with inbuilt mail API but Java-EE (now called Jakarta EE) provides several utility library like json, servlet, web...
Java HttpClient tutorial with File Upload example
›
Java 11 comes with a nice HttpClient API/Implementation so that we no longer need to rely on external libraries like Apache HttpClient execu...
Thymeleaf re-usable pagination component- Spring MVC/Bootstrap
›
In this blog, we will discuss how we can create a reusable pagination component using Thymeleaf and Spring MVC/Data. Goal is to create a pag...
Thymeleaf pass parameter to fragment
›
Making reusable fragment/UI Components in Thymeleaf Thymeleaf supports creation of 'function like' mechanism and pass parameters to ...
‹
›
Home
View web version