Java Iterator: OutOfMemory (OOM) Scenario
This simple example explains how to iterate through Java Iterator and avoid possible OutOfMemory (OOM) in Java. This post is filed under Java Web Tutorial. Possible reason: forget to use...
View ArticleGithub: How to Fork Github Repository, Create Pull Request and Merge?
Github is pretty awesome. I simply love using it. GitHub is a Git repository web-based hosting service which offers all of the functionality of Git as well as adding many of it’s own features. In this...
View ArticleIn Java how to Delete Files, Folders from Windows, Mac OS X and Linux OS?
Sometime back I’ve written an article on how to remove /tmp or unnecessary files / folder on Linux automatically via script? Now it’s time to write the same utility for Windows environment. In this...
View ArticleHostArmada – Managed Web Hosting Solutions for WordPress community
It’s very important to choose right service when you start your 1st blog. There are so many services and accounts you need to start your first blog. You need to go get Domain first. Register for...
View ArticleDifference between Arrays.asList(array) Vs. ArrayList(Arrays.asList(array))...
In java what is a difference between List Vs. ArrayList? In other words, have you ever wondered what is the difference between Arrays.asList(array) and ArrayList<Integer>(Arrays.asList(array))?...
View ArticleJava Iterator, ListIterator fundamentals and ConcurrentModification Exception
Do you have these questions? Java – how to avoid ConcurrentModificationException concurrentmodificationexception iterator next concurrent modification exception in java hashmap In previous topic we...
View ArticleHow to read File in Java and Count total number of Characters, Words and Lines
Recently I got an email asking for “Can I have a tutorial on counting total number of words, lines and characters from file?” Some time back I’ve written an article on How to Read a File Line by Line...
View ArticleJUnit Testcases in Java: Simple JUnit Hello World Tutorial with All in One...
What is JUnit? JUnit is a simple, powerful, open source framework to write and run repeatable tests. I love JUnit testcases. During my Java Project development, I extensively use JUnit for code...
View ArticleArrayBlockingQueue Vs. Google Guava Non-Blocking EvictingQueue Example
Concurrency utilities are very amazing in Java. java.util.concurrent package contains lots of utilities which we could use in number of different ways. In this tutorial we will go over difference...
View ArticleHow to install & setup Apache Tomcat server on Linux Ubuntu host [on Linode]
Setting up Apache Tomcat web server on publicly hosted Linux host is a best way to host your service. If you want to publish any Java application to world, you need public IP and hence public facing...
View ArticleJava Properties File: How to Read config.properties Values in Java?
.properties is a file extension for files mainly used in Java related technologies to store the configurable parameters of an application. They can also be used for storing strings for...
View ArticleIntelliJ IDEA – new UI is awesome. How to enable it?
At Crunchify, at this moment we are using IntelliJ IDEA 2022.3 (Ultimate Edition) for all of our Java projects. Recently after upgrading to latest version, we noticed new UI option under Preference....
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 ArticleShell Script: How to append TimeStamp to file name?
I need to create a shell script that appends a timestamp to existing file. I mainly use Mac OS X for development. Wanted to create the same on Mac Terminal. Here are some basics on date command. NAME...
View ArticleHow to Install and Configure Prometheus on Linux? (Ubuntu and CentOS)
What is Prometheus? Prometheus is world class Monitoring System comes with Time Series Database as default. It’s an open-source systems originally built in year 2012. World’s top 500 companies have...
View ArticleWhat are all the Different Ways to Create an Object in Java? Total 6 ways –...
As you know, in Java, a class provides the blueprint for objects; you create an object from a class. There are four different ways to create objects in java: Method-1 Using new keyword. This is the...
View ArticleHow to remove Comment Author Link from Existing WordPress Comments and Submit...
In this tutorial we will go over steps on how to remove Comment Author Link and Website text area from WordPress comment form. Let’s get started: 1. Remove Comment Author link from all existing...
View ArticleWordPress: How to Remove Comment Notes Below the Comment Box
WordPress is a very powerful blogging platform. Now World’s 43.2% of the internet sites are powered by WordPress. This post shows tricks on how to remove comment notes below the comment box? By...
View ArticleHow to modify the Notes Shown Before the WordPress Comment Form?
By default when you launch a new website, your site’s WordPress comment form show this note before comment form. Your email address will not be published. Required fields are marked * How to change...
View ArticleHow to move WordPress Comment Textfield after Name and Email field?
By default, WordPress comment form shows comment text area just above Name, Email and URL field. In this tutorial, we will go over steps on how to switch Comment TextField and Name, Email postion....
View Article