How to check if file exists in on file system? Sometime at runtime, you may have to find a file and make sure that exists before executing or running any command. You don't want to get an …
When Should I use CopyOnWriteArrayList Vs. ArrayList in Java? Avoid java.util.ConcurrentModification Exception
java.util.List is an ordered collection also known as a sequence. ArrayList is a very basic implementation of List. There are number of articles I've posted on Crunchify before on ArrayList …
How to add Google reCAPTCHA to WordPress Comment form without any Plugin?
On Crunchify, we are using reCAPTCHA v2 on WordPress comment form. There are multiple plugins available out there to achieve the same. In this tutorial we will go over steps on how to add Google …
Read Article about How to add Google reCAPTCHA to WordPress Comment form without any Plugin? →
How to Add/Change Custom Sidebar for Custom Post Type (CPT) in WordPress
This is a continuous tips and tricks post related to Custom Post Type. We will go over steps which we need to perform in order to have different Sidebar only for Custom Post Type (CPT). Also this …
Read Article about How to Add/Change Custom Sidebar for Custom Post Type (CPT) in WordPress →
How to stop/kill long running Java Thread at runtime? timed-out -> cancelled -> interrupted states
Have you ever wondered how to kill long running Java thread? Do you have any of below questions? Kill/Stop a thread after certain period of time Killing thread after some specified time limit …
How to Implement Selection Sort Algorithm in Java – Detailed Explanation
Are you a Computer Science Graduate? Are you preparing for an Interview? Want to become a master in Data Structure? Well, Sorting algorithms are the most frequently asked questions in Java …
Read Article about How to Implement Selection Sort Algorithm in Java – Detailed Explanation →
How to Parse XML Document using XPath in Java? Java XML XPath Parser Utility
Sometime back I've written a tutorial on How to Write XML DOM into File using Java? It's very simple tutorial with actual real use-case. Last week while working on similar XML and Java issue - I've …
Read Article about How to Parse XML Document using XPath in Java? Java XML XPath Parser Utility →
Featured Images in Admin Panel – Free WordPress Plugin
Enhance Your WordPress Admin Panel with Custom Columns for Featured Images. Introducing Featured Images in Admin Panel - Free WordPress Plugin. WordPress has established itself as the go-to …
Read Article about Featured Images in Admin Panel – Free WordPress Plugin →
Java Stream API: Merging Arrays with Explanation and Example
In Java programming, working with arrays is a common task. However, there are situations where you need to merge or concatenate arrays to create a single, larger array. The Java Stream API …
Read Article about Java Stream API: Merging Arrays with Explanation and Example →