In Java How to Check if Number/String is Palindrome or not?
What is Palindrome number? A palindromic number is a number (such as 24842) that remains the same when its digits are reversed. Here are few other names: numeral palindromenumeric palindrome In this...
View ArticleUsing Genesis Blocks WordPress plugin? How to Disable dismiss.js script loading?
Are you using Genesis WordPress themes? On Crunchify, we are using Genesis Themes since 2014. We purchased all in one package around the same time and so far there is no regret. We love it. We are...
View ArticleIn Java How to Move all 0’s to end of Array Preserving Order of an Array? [2...
I’ve been playing with a problem of moving all 0's to end of Arrays in different interviews in various combinations. Sometimes I ask to move all 0 to front of array, sorting an array without any data...
View ArticleJava Merge Sort Algorithm Implementation? Detailed Explanation and Complete...
On Crunchify, we have written so far 500+ Java and Spring MVC technology related tutorials. Learning new stuff never bored me. I like learning new stuff every day and I believe it’s the same for my...
View ArticleLiveCanvas: New and better Bootstrap way to build WordPress Site
Do you want to build a site in no time with Bootstrap 4 framework? Want to build WordPress side without any custom code changes? Then you are at right place. LiveCanvas is one of the best Bootstrap...
View ArticleWhat is RegEx Pattern (Regular Expression)? How to use it in Java? Example...
What is RegEx? Regular Expression is a search pattern for String. java.util.regex Classes for matching character sequences against patterns specified by regular expressions in Java. You could use...
View ArticleJava: HashSet Vs TreeSet – Difference between HashSet and TreeSet in Java
While searching solution for my Java exception online found very nice explanation on StackOverflow about some basic difference between HashSet and TreeSet. HashSet is much faster than TreeSet...
View ArticleJava Timer, TimerTask, Reminder Class Tutorial with Example
java.util.Timer is a utility class that can be used to schedule a thread to be executed at certain time in future. Java Timer class can be used to schedule a task to be run one-time or to be run at...
View ArticleLog File Tailer (tail -f) implementation in Java – Best way to tail any file...
File operations using Java are my favorite part. There are number of tutorials you may have seen on Crunchify like append data to file, read data from file, read and parse JSON file, read...
View ArticleEasy Digital Downloads and How to fix “The site is experiencing technical...
Are you using Easy Digital Download? Very well known as EDD. On Crunchify, we are using Easy Digital Downloads for all of our premium plugins and our Java Tutorials. You are at right place if you have...
View ArticleDevKinsta – Design, develop, and deploy WordPress sites from your local...
It’s been few days I have been playing with DevKinsta on my local Mac book pro. I was able to setup my local environment in no time. My first impression: DevKinsta is super quick and easy. I was able...
View ArticleHow to disable and delete WordPress post, page revisions? Change Autosave and...
What is WordPress Revision? In WordPress revisions are records of each stored draft and published post data. Every time, when you save your draft either by autosave or manual, WordPress stores...
View ArticleHow to add Login/Logout Button and Header Menu to WordPress without any plugin?
WordPress Optimization is a key goal for us at Crunchify. Having less and less plugin and customize theme without Plugins is a best way to go. In this tutorial we will go over list of below things....
View ArticleWordPress Plugin Setting page: textarea and mysterious white spaces issue...
Yesterday while working on our brand new WordPress Plugin I noticed this weird white space issue in textarea HTML field. After saving settings in Plugin Admin area, during refresh it started...
View ArticleSimplest jQuery Hello World Example
Hello Crunchify folks. As per request from few users, I’m writing simple jQuery program for all of you. This is the simplest jQuery code which you could start with. Let’s get started on Simple jQuery...
View ArticleSimple way to check if URL is valid or invalid? Validate an URL in Java.
In Java how to simple way to check if URL is valid or invalid? Well there are multiple ways you could do that. In our tutorial, we will use org.apache.commons.validator.routines.UrlValidator to...
View ArticleIn Java how to convert .PNG image to .JPG using ImageIO and BufferedImage?
In this tutorial we will go over steps on how to convert PNG image to JPG image? The BufferedImage subclass describes an Image with an accessible buffer of image data. A BufferedImage is comprised of...
View ArticleBest way to Compare String Arrays, Integer Arrays and Strings in Java –...
java.util.* package contains so many utilities like collection framework, event model, date facility, time facility and so on. Java doesn’t provide simple compare utility for primitive types like...
View ArticleStep by Step guide to Enable HTTPS or SSL correct way on Apache Tomcat Server...
It’s been almost 12 years I started using Apache Tomcat. I believe when I did my 1st under grade project, it was on Tomcat version 1.x. Now it’s already on version 8.0. Mostly I’ve been in touch with...
View ArticleHow to Install and Configure Memcached Process/Server on Mac OS X?
Memcached is one of the widely used distributed memory object caching solution out there. I’ve been using it since last 3 years actively for number of various projects. Here are the key advantages of...
View Article