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
▼
Spring Boot - update response of every API using ResponseBodyAdvice
›
Not sure why we need it but I've seen several codebase where developers were wrapping the response body in some structure like below - w...
Run a task in a different interval during weekend using Spring Scheduler and Custom Trigger
›
Run a task in a different interval during weekend. Instead of defining fixed interval to run a task every 1 minute (as shown in example belo...
Append a file into existing ZIP using Java
›
The following code reads a input file 'in.zip' appends 'abc.txt' with some String content into it and creates output zip f...
Spring Boot - get Trace and Span ID programmatically
›
Autowire Tracer tracer and get traceId and spanId from current Span Span span = tracer .currentSpan(); span .context().traceId() //trace ...
8 puzzle solver using A* algorithm
›
8-puzzle is a very interesting and a well known problem in the field of Artificial Intelligence. It always has been an important subjec...
JSP basics - Java Server Pages
›
The JSP - Java Server Pages JSP extension of the servlet technology which offers both scripting ( as in HTML) as well as programming (as ...
›
Home
View web version