Blockchain Explained

Blockchain Explained

Ashish Lahoti

Most of us think Blockchain as the technology behind Bitcoin. While this was its original purpose, blockchain is capable of so much more…

Useful Hugo Shortcodes

Useful Hugo Shortcodes

Custom Hugo Shortcodes with examples

Ashish Lahoti

If you are using Hugo as a static site generator tool then you might have used hugo built-in shortcodes but here are some amazing hugo shortcodes which can be used in markdown files of your hugo website.

Add Structure Data JSON-LD in Hugo Website Pages

Add Structure Data JSON-LD in Hugo Website Pages

Guide to create a Site Schema partial in Hugo

Ashish Lahoti

When you add structure data to your website, it helps google, bing or other website indexers to understand the content for your website and pages which leads to better search results for your website and eventually helps in SEO ranking.

Double Colon (::) Operator in Java 8

Double Colon (::) Operator in Java 8

Method Reference in Java 8

Ashish Lahoti

The double colon :: operator is introduced in Java 8 for method reference. It is a shorthand syntax for lambda expression that executes one method. You can write more compact and readable code using double colon operator as compare to anonymous classes and lambda expression. We are going to understand its usage with lots of examples.

Custom API Request & Response Logging in spring boot.

Custom API Request & Response Logging in spring boot.

Ashish Lahoti

When we create RESTFul APIs in spring boot application in microservices environment. It becomes essential to log incoming API request and response and push it to centralized logging system such as Splunk or ELK for debugging. Also all the logs related to one request should have some common id to relate them. In this post we are going to solve these problems.

info and health endpoints in spring boot

info and health endpoints in spring boot

Ashish Lahoti

In spring boot microservices based application, where microservices talks to each other using RESTFul APIs. We can expose some important information about microservice such as name, version, description over some endpoints say /info and also realtime status or health over some endpoint say /health to create application dashboards, realtime alerts, track microservice updates and so on…