Quantcast
Channel: Crunchify
Browsing all 1037 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to install and configure Filebeat? Lightweight Log Forwarder for Dev/Prod...

Over last few years, I’ve been playing with Filebeat – it’s one of the best lightweight log/data forwarder for your production application. Consider a scenario in which you have to transfer logs from...

View Article


Image may be NSFW.
Clik here to view.

Templ.io – Managed Google Cloud, Fast and Simple WordPress Hosting

WordPress hosting is no doubt the best Business industry out there. With WordPress powering more than 33% of the web, it’s no way the small business. When I started blogging sometime around 2012 there...

View Article


Image may be NSFW.
Clik here to view.

Java ConcurrentNavigableMap and ConcurrentSkipListMap Tutorial with all...

Sometime back I’ve written an article on difference between HashMap, ConcurentHashMap and SynchronizedMap. In this tutorial we will go over ConcurrentNavigableMap and ConcurrentSkipListMap with all...

View Article

Image may be NSFW.
Clik here to view.

Linux and Curl: How to use Bash to Read a File Line by Line and Execute Curl...

Linux Curl command is very amazing. It’s very simple command which is use to send or get data from and to any server. Server would be any server like end point URL, ftp endpoint, etc. In this tutorial...

View Article

Image may be NSFW.
Clik here to view.

Simplest way to generate logs in Java using java.util.logging’s...

Java comes with lots of utilities. In this tutorial we will go over simplest way to generate log files using SimpleFormatter and XMLFormatter. On Crunchify, we have published few tutorials about...

View Article


Image may be NSFW.
Clik here to view.

Ansible: How to Accept User Input using vars_prompt and Command line?

It’s been few months I started playing with Ansible. In this tutorial, we will go over how to use vars_prompt ansible section if you may wish to prompt the user for certain input while running ansible...

View Article

Image may be NSFW.
Clik here to view.

In Java How to Perform File Search Operation using java.nio.file interface?...

Java 8 has so many new functionalities and collection of features which are hidden inside packages. In this tutorial we will go over java.nio.file.Path interface. Path is an object that may be used to...

View Article

Image may be NSFW.
Clik here to view.

What is Lock(), UnLock(), ReentrantLock(), TryLock() and How it’s different...

In this tutorial we will go over Lock(), UnLock(), ReentrantLock(), TryLock() and how it’s different from Synchronized Block in Java. If you have also below questions then you are at right place....

View Article


Image may be NSFW.
Clik here to view.

Ansible: How to terminate all AWS EC2 instances using Ansible script?

As by now you probably know, I’ve been working on Ansible a lot lately. In this tutorial we will go over how to terminate all AWS EC2 instances programmatically using Ansible script. Before you go...

View Article


Image may be NSFW.
Clik here to view.

Java SSLSocket with TLS1.3 and TLS_AES_128_GCM_SHA256 Cipher Example

How to send TLS1.3 HTTPs request to your domain and print response? SSLSocket class extends Sockets and provides secure socket using protocols such as the “Secure Sockets Layer” (SSL) or IETF...

View Article

Image may be NSFW.
Clik here to view.

Java LocalDate(), LocalDateTime(), ZonedDateTime(), Calendar() and Date()...

On Java, we have published How to Convert Current Time to Epoch Time and How to Calculate the Difference Between Two Java Date Instances tutorials sometime back. In this tutorial we will go over all...

View Article

Image may be NSFW.
Clik here to view.

WordPress: How to display Title on Previous Post and Next Post mouse hover link?

Ever wonder how to show previous post and next post on your single WordPress post? Sometime back we have published an article on the same on how to add previous next button with nice CSS. Kindly...

View Article

Image may be NSFW.
Clik here to view.

IntelliJ IDEA – How to Set Latest Java SDK and fix an Error: java: error:...

Today while running my Java Program I got below error in IntelliJ IDEA.Information:Too many modules require recompilation, forcing full project rebuild Information:java: Errors occurred while...

View Article


Image may be NSFW.
Clik here to view.

How to create Java Maven Project and push it to Github from IntelliJ IDEA...

IntelliJ IDEA is no doubt one of the best Java IDE out there. On Crunchify, we have published number of articles on Eclipse IDE and how to generate Maven project and run your complete end to end...

View Article

Image may be NSFW.
Clik here to view.

In Java How to Sort a Map on the Values? The Map Interface – Java Collections

In Java How to sort a Map on Value?  There are number of ways. Here we will follow below steps.public interface Map<K,V>An object that maps keys to values. A map cannot contain duplicate keys;...

View Article


Image may be NSFW.
Clik here to view.

How to Reverse a String in Java? Total 7 different ways…

On Crunchify, we have published more than 500 Java Tutorials and in this tutorial we will go over steps on how to reverse a string in Java? There are 7 different ways you can reverse a string in Java....

View Article

Image may be NSFW.
Clik here to view.

How to use Spring Framework StopWatch() to Log ExecutionTime and ElapseTime...

Spring Framework – StopWatch() is a very handy utility for any Java developer if you have small Java application or production ready application. Most of the Java applications involve Thread pooling...

View Article


Image may be NSFW.
Clik here to view.

How to create 1st Spring Boot HelloWorld Application in IntelliJ IDEA with...

Hello readers – In this tutorial we will go over list of steps on how to create your 1st very simple Hello World Spring Boot application with just few clicks. Sometime back I’ve written an article on...

View Article

Image may be NSFW.
Clik here to view.

How to create simplest Spring Boot Rest Service listening on port 8081?

In this tutorial we will go over steps on how to create your simplest Spring Boot web application which listens on port 8081? This tutorial is based on below 1st Spring Boot HelloWorld Application in...

View Article

Image may be NSFW.
Clik here to view.

Java Transient Keyword Tutorial – A transient variable is a variable that can...

If you have a requirement to serialize an object then you have an option to skip serialize specific field by marking it as transient. transient is a Java keyword which marks a member variable not to...

View Article
Browsing all 1037 articles
Browse latest View live