A well-rounded software developer could easily switch between programming languages. Besides, full-stack developers do this already. They have skills for both backend and frontend. Therefore, we should learn another language like C# no matter what programming language forte we come
Ruby – How to create a Class and its Object
This post shows Ruby codes that create a simple class and objects from that class. Yes, Ruby is an old and weird programming language, but people and companies are still using it. Therefore, no one programming language has a monopoly
Java – Where can we place the public static void main method?
Many Java programmers are only familiar with having the public static void main in a class to start the application. However, there are other places where we can define this static method and still start up a Java application. This
Java – How to skip and not execute the finally clause
They say that when an Exception occurs, the finally clause, if available, will always execute no matter except for one thing.
How to block port using Ruby for testing purposes
This post is about using a port so that other applications will not use it in test scenarios. For instance, you have some tests that use a mock web service, and you require ranges of port numbers. So, the idea
Three Ways To Check if key exists in Map in Kotlin
This post shows how to check if a key exists in a Map in Kotlin. There are three ways to do this in Kotlin. Note that we are using Kotlin 1.3. Check Key Exists Using Map containsKey Method This method
Remove XML Element based on parameter in Java using XSLT
This post shows how to remove an XML element based on some parameters in Java using XSLT. We mean parameters for the Transformer object and let XSLT work its magic during the transformation. Therefore, three significant events will happen. First,
Retry Operation at specific Exception using Spring Retry
Spring-Retry allows us to retry operations when the codes encounter exceptions. How do we limit the retries to specific exceptions only? For instance, we wouldn’t want to retry SOAP Web Service operations. The operations may throw exceptions due to invalid
Laravel 5.7 Mailgun Configuration To Send Mail
Configuring Laravel to use Mailgun is easy. We only need an account at mailgun.com and, for testing, some authorized recipient email address.
Log Unencrypted SoapFault Messages in Apache CXF
This post shows how to log unencrypted SoapFault messages from Apache CXF in client applications. These applications use WS-Security for encryption and decryption. Note that this write-up assumes the reader is familiar with the more advanced stuff in SOAP-based web