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

Image may be NSFW.
Clik here to view.

How to easily change WordPress Login page Logo and URL?

New updated Login page logo and URL. Here is a Login Page default WordPress logo: Default Login page logo and URL. How to Change the WordPress Login Logo and URL?Customizing the Login FormHow to...

View Article


Image may be NSFW.
Clik here to view.

Java Properties Files: How to Update config.properties File in Java?

Properties files are a popular mean of configuring applications. Of course Commons Configuration supports this format and enhances significantly the basic java.util.Properties class. This section...

View Article


Image may be NSFW.
Clik here to view.

In Java How to Find Maximum Occurrence of Words from Text File?

In this Java tutorial, you will learn How to Find Maximum Occurrence of Words from given Text File? Here is a logic for getting top element: Create a class CrunchifyComparable that can store the...

View Article

Image may be NSFW.
Clik here to view.

Best Way to Append Data to File in Java – Apache commons.io.FileUtils and...

What is the best way to append live data to a file in Java? It’s very easy for developer to print output or some debug data to Eclipse Console using println(). But what if you would like to save data...

View Article

Image may be NSFW.
Clik here to view.

All in one Java Regex, Matcher Pattern and Regular Expressions Tutorial

In this tutorial we will go over list of Matcher (java.util.regex.Matcher) APIs. Sometime back I’ve written a tutorial on Java Regex which covers wide variety of samples. Regular Expression is a...

View Article


Image may be NSFW.
Clik here to view.

How to add custom Twitter & Facebook Social Share Image & Description for...

Are you using Yoast SEO plugin? Yoast SEO for WordPress is one of the best WordPress plugin out there. Plugin by default adds Image and Description for your Archive and Category pages. In this...

View Article

Image may be NSFW.
Clik here to view.

Java Stream API Operations and Lambda Expression Tutorial

Java is a collection of APIs and with the introduction of Java 8, we do have more choice than before. java.util.stream API supports functional-style operations on streams of elements, such as...

View Article

Image may be NSFW.
Clik here to view.

How to Run Multiple Threads Concurrently in Java? ExecutorService Approach

Let’s take a look at this example again: How to get Ping Status of any HTTP End Point in Java? Have you noticed the thread execution for that example? It’s sequential. What if you have 500 endpoints?...

View Article


Image may be NSFW.
Clik here to view.

In Java What is a Difference Between IdentityHashMap and HashMap +...

Sometime back I have a special case in which I have to compare Map’s Key based on equality operator (==).  The equality operator (==) compares the references (addresses in memory) of the two Keys as...

View Article


Image may be NSFW.
Clik here to view.

IntelliJ IDEA Project/Module and latest Java setup (Java 17 or newer)

Java development team has changed their release cycle after Java8 significantly and now they are releasing new version every few months. I personally like the faster Java release cycle and love...

View Article

Image may be NSFW.
Clik here to view.

In Java how to Get File or Directory Size Programmatically?

java.io.File is my favorite utility which deals with lots of File related to functionalities. I started dealing with Java and File utils more and more in my initial coding days. It’s always fun to...

View Article

Image may be NSFW.
Clik here to view.

In Java How to Get all Text After Special Character from String?

Java substring() utility is a very powerful library if you want to perform multiple special operations on String. It simply returns a substring of the specific string based on number of operations...

View Article

Image may be NSFW.
Clik here to view.

In Java How to remove Elements while Iterating a List, ArrayList? (5...

In Java How to remove elements from ArrayList while iterating? The list.remove(s) will throws java.util.ConcurrentModificationException, if you remove an item from an ArrayList while iterating it....

View Article


Image may be NSFW.
Clik here to view.

What is ConcurrentModification Exception in a multi-threaded environment?

Are you getting ConcurrentModification Exception in Java? How to fix it? Mainly this happens when you try to remove element from ArrayList while iterating through it. We usually get this exception in...

View Article

Image may be NSFW.
Clik here to view.

tinylog – Rolling File Writer Tutorial

What is rolling file adaptor for tinylog? The rolling file writer or adaptor is a tinylog’s writer which writes logs to rolling files. It keeps rotating files and you will have latest log files as per...

View Article


Image may be NSFW.
Clik here to view.

tinylog – Lightweight, Simplified logging framework for Java. HelloWorld...

What is tinylog? Tinylog is a lightweight and Simplified logging framework for so many JVM languages. It has static logger. No need to create any other logger instance per class. Like any other...

View Article

Image may be NSFW.
Clik here to view.

How to Generate Out Of Memory (OOM) in Java Programatically

Everyone in java development face java.lang.OutOfMemoryError  now and then, OutOfMemoryError (OOM) in Java is one problem which is more due to system’s limitation (memory) rather than due to...

View Article


Image may be NSFW.
Clik here to view.

Ansible: How to Execute Commands on remote Hosts and get command result (log)...

On Crunchify, we have published quite a few Ansible articles before which includes, installation of Ansible, Copying file from one host to remote host and more. In this tutorial we will go over steps...

View Article

Image may be NSFW.
Clik here to view.

In Java how to Initialize HashMap? 7 different ways

In Java How to initialize HashMap? How to directly initialize a HashMap (in a literal way). There are 7 different ways you can initialize HashMap in Java. Method-1: Simple Mutable map: It’s a map...

View Article

Image may be NSFW.
Clik here to view.

In Java How to Escape HTML content? Simple Tutorial using Apache Commons Library

Sometime it’s absolutely necessary to escape HTML content before you proceed over to Database operations or sending it as a POST call payload. Sometime back I’ve written a tutorial on Escape Character...

View Article
Browsing all 1037 articles
Browse latest View live