Author: Syed Wahaj

Integrating Spring Boot with Thymeleaf

In the world of modern web development, creating dynamic and visually appealing user interfaces is crucial. Spring Boot, a popular framework for building Java-based applications, offers seamless integration with Thymeleaf, a powerful templating engine that simplifies the process of creating dynamic web pages. In this article, we will delve deep

Read More »

Guide to JVM Platform Annotations in Kotlin

Annotations are a powerful feature in Kotlin that allow you to add metadata and behavior to your code. In addition to Kotlin-specific annotations, you can also work with annotations that are specifically designed for the Java Virtual Machine (JVM) platform. These JVM platform annotations provide compatibility, interoperation, and control over

Read More »

Convert Kotlin Array to Varargs

In Kotlin, arrays and varargs (variable-length argument lists) are fundamental concepts that play a crucial role in function parameters and argument passing. There are situations where you might need to convert an array into varargs or vice versa, either for convenience or compatibility reasons. In this article, we’ll delve into

Read More »

Linux – wget Timeout

In the world of Linux command-line utilities, wget stands out as a powerful tool for downloading files from the web. However, when dealing with downloads, especially in automated scripts or network-challenged environments, managing timeouts becomes crucial. In this article, we’ll explore how to handle timeouts effectively while using wget. We’ll

Read More »

Execute Bash Script From URL

Running Bash scripts is a common task in the world of command-line utilities and automation. Traditionally, you might create and execute these scripts locally on your machine. However, there’s an interesting and convenient way to execute Bash scripts directly from a URL. In this article, we’ll explore how to achieve

Read More »

Capture the SSL Handshake with tcpdump

In the world of network analysis and debugging, capturing the SSL handshake can provide valuable insights into the secure communication between clients and servers. The SSL handshake is a critical part of establishing a secure connection, and examining it can help diagnose issues, verify certificate information, and ensure proper encryption.

Read More »

Linux Commands Comparison: curl vs wget

When it comes to downloading files and interacting with remote resources on the command line in Linux, two prominent utilities stand out: curl and wget. These tools serve similar purposes, yet they have distinct features and functionalities that cater to different use cases. In this article, we’ll delve into the

Read More »

Difference Between fold and reduce in Kotlin

In Kotlin, both the fold and reduce functions are powerful tools for aggregating values within a collection. These functions enable developers to process elements and accumulate results in a concise and functional manner. However, they have distinct behaviors and use cases that differentiate them from each other. In this article,

Read More »

Converting a List to Map in Kotlin

In Kotlin, collections play a crucial role in handling and manipulating data efficiently. Often, there arises a need to convert a list of elements into a map, where each element in the list is associated with a unique key in the map. This process can be extremely useful in various

Read More »

Command-Line Arguments in Java

Introduction Command-line arguments provide a versatile way to interact with Java programs directly from the terminal or command prompt. They allow users to customize the behavior of a program by passing input values when launching it. In this article, we will explore the concept of command-line arguments in Java, understand

Read More »