Atul Rai
I love sharing my experiments and ideas with everyone by writing articles on the latest technological trends.

How to host a website on GitHub

In this article, we’ll show you how to host a website on GitHub. GitHub allows us to publish and share […] Continue reading »

Spring Boot – Handling Errors in WebClient

In this guide, we’ll learn how to handle WebClient errors. The retrieve() method in WebClient throws a WebClientResponseException whenever the […] Continue reading »

Spring Boot– Consuming a REST Services with WebClient

In this guide, we’ll show how to consume REST services with WebClient. Spring WebFlux includes a reactive, non-blocking (asynchronous) WebClient […] Continue reading »

Spring Boot – Calling REST Services with RestTemplate

In this article, we’ll learn how to consume REST services with RestTemplate from a Spring Boot application. Spring provides a […] Continue reading »

How to check whether it is POST or PAGE in WordPress

In WordPress, is_page() function return true if the current article is a “PAGE” and similarly is_single() function return true if […] Continue reading »

IntelliJ IDEA – Code reformat and rearrange shortcut keys

In IntelliJ IDEA, we can use Ctrl + Alt + L to reformat and rearrange code in Windows and Linux […] Continue reading »

How to check if user is logged-in or not in WordPress

In WordPress, we can use the is_user_logged_in() function to identify whether a current user is logged in or not. is_user_logged_in() […] Continue reading »

How to get author details in WordPress

In WordPress, we can use the get_the_author_meta(string $field) function to retrieve the author’s details stored in the database object. get_the_author_meta() […] Continue reading »

How to display all UTC offset in Java 8

In Java 8, we can use ZoneId.getAvailableZoneIds() to get all unique zone id and LocalDateTime to get UTC offset of […] Continue reading »

Java 8 – Difference between two LocalDate

In Java 8, we can use Period.between(startDate, endDate) method to find out the difference between two LocalDate instances. Period is […] Continue reading »

Display all ZoneId in Java 8

In Java 8, ZoneId.getAvailableZoneIds() method return all available unique ZoneId and we can loop it for display. static Set<String> getAvailableZoneIds(); […] Continue reading »

1 15 16 17 18 19 42