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

Image may be NSFW.
Clik here to view.

Escape Character Utility for URL and JSON data – Feel free to use in your...

What is escape character in Java? Mainly escape characters are the characters which replaces existing character with new & provided character which works best without throwing any error at...

View Article


Image may be NSFW.
Clik here to view.

In Java How to add New line in String?

In this tutorial we will go over two different ways to add new line to any String object. Let’s get started: Create class CrunchifyAddNewLineToString.javaCopy below code and save file package...

View Article


Image may be NSFW.
Clik here to view.

In Java How to Read a File and Convert File to String? (5 different ways)

What is simplest way to read a file into String? Do you want to read a plain text file in Java? How do you want to convert a File object to a String object? There are multiple ways we can read a file...

View Article

Image may be NSFW.
Clik here to view.

How to Merge/Concat Multiple JSONObjects in Java? Best way to Combine two...

In Java – What is the best way to combine / merge multiple JSONObjects? JSONObject is an unordered collection of name/value pairs and widely used in Java Enterprise applications for data transfer...

View Article

Image may be NSFW.
Clik here to view.

In Java how to find if Year is Leap Year or not? Custom logic and...

What is a Leap Year? Leap year is a year, occurring once every four years, that has 366 days including February 29 as an intercalary day. Is the year divisible by 4? If no – it’s not a leap yearIf yes...

View Article


Image may be NSFW.
Clik here to view.

In WordPress How to Disable comments on Media, Attachments

Sometime back we have published an article on how to completely disable Trackbacks and Pingbacks. In this tutorial we will go over how to disable comments on Media and Attachments. Let’s get started:...

View Article

Image may be NSFW.
Clik here to view.

Ansible: How to automatically monitor newly created Amazon EC2 instances...

Do you have any of below questions? Use file-based service discovery to discover scrape targetsHow to Automatically discover the use of multiple IPs?Automatically monitoring EC2 InstancesMonitoring...

View Article

Image may be NSFW.
Clik here to view.

Best 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 Article


Image may be NSFW.
Clik here to view.

Java Method Hiding and Overriding: Override Static Method in Java

Want to learn Fundamental of Instance Method? In Java, an instance method in a subclass with the same signature and return type as an instance method in the superclass overrides the superclass’s...

View Article


Image may be NSFW.
Clik here to view.

Mailerlite – Best way to grow your Subscriber list – Detailed Review

On Crunchify, we have used so many email marketing tools and would like to share my feedback on Mailerlite which we are using since last few years. Let’s start with top email marketing tools we have...

View Article

Image may be NSFW.
Clik here to view.

How to create executable .jar file using Linux commands and without Eclipse...

So far for me it it was so easy to right click in Eclipse IDE and create executable .jar file with few simple clicks. Last week I had to create executable .jar file manually on my Digital Ocean node...

View Article

Image may be NSFW.
Clik here to view.

How to Show Hidden Files in Finder Window and Create Alias Shortcut on MacOS?

How to Show Hidden Files on a Mac? How to Access Your Mac’s Hidden Files? By default, Mac OS X keeps all files and folders starting with . (dot) hidden. Here is a sample. How to access the hidden...

View Article

Image may be NSFW.
Clik here to view.

In Java how to join Arrays? 3 ways: Apache Commons ArrayUtils, Java 8 Streams...

In this tutorial we will go over different ways we can join Java Arrays. If you have any of below questions then you are at right place: How can I concatenate two arrays in Java?How to Merge Two...

View Article


Image may be NSFW.
Clik here to view.

Simple way to check if URL is valid or invalid? How to Validate URLs 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 Article

Image may be NSFW.
Clik here to view.

Difference between String, StringBuffer and StringBuilder in Java – Example...

In this Java tutorial we will go over difference between Java String, StringBuffer and StringBuilder. Let’s get started: String: The String class represents character strings. All string literals in...

View Article


Image may be NSFW.
Clik here to view.

Getting Permission Denied error while executing MacOS Homebrew command?

Are you getting below error while executing Homebrew command? Today while installing PHP on my new Macbook 16″ I got below error. I tried below few tips but it didn’t work for me. Execute same...

View Article

Image may be NSFW.
Clik here to view.

How to install Homebrew on MacOS?

What is Homebrew? Homebrew or brew is the Missing Package Manager for MacOS. Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with macOS. It can also...

View Article


Image may be NSFW.
Clik here to view.

How to install PHP latest version on MacOS via Homebrew?

How to install PHP on MacOS? In this tutorial we will go over steps on how to install PHP on MacOS. We will use Homebrew to install PHP on MacOS. PHP is a widely-used general-purpose scripting...

View Article

Image may be NSFW.
Clik here to view.

How to Install Apache httpd on MacOS via Homebrew?

How to install Apache on MacOS using Homebrew? Here are list of steps to install Apache httpd on MacOS. Let’s get started: Step-1 Install Homebrew on your Macbook. Please follow this tutorial...

View Article

Image may be NSFW.
Clik here to view.

How to Remove oEmbed-specific JavaScript from front-end & back-end in WordPress?

In WordPress wp_oembed_add_host_js() adds the necessary JavaScript to communicate with the embedded iframes. /wp-includes/embed.php adds below code to your site. function wp_oembed_add_host_js() {...

View Article
Browsing all 1037 articles
Browse latest View live