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

Image may be NSFW.
Clik here to view.

What is Java Collections Framework? Benefits of Collections Framework?

Java Collections are used in every programming language and initial java release contained few classes for collections: Vector, Stack, Hashtable, Array. But looking at the larger scope and usage, Java...

View Article


Image may be NSFW.
Clik here to view.

What is Daemon Thread in Java? Example Attached

Daemon threads in Java are like a service providers for other threads or objects running in the same process as the daemon thread. Daemon threads are used for background supporting tasks and are only...

View Article


Image may be NSFW.
Clik here to view.

Lessons to Learn: Fundamental of Hibernate Core implementation

This is a Guest Post from Dane Dennis, a Product Manager for JArchitect. Hibernate is an open source Java persistence framework project. Perform powerful object relational mapping and query databases...

View Article

Image may be NSFW.
Clik here to view.

How to Show a Custom Message on WordPress Registration Page

Are you a WordPress developers or Advanced WordPress Users? You must be very interested in a simple way to create role-specific registration forms for your WordPress website. Below code will help you...

View Article

Image may be NSFW.
Clik here to view.

Security Release – Please Update Crunchify WordPress Plugins

Good Day all, I’ve recently updated all my WordPress Plugins and fixed Cross-site request forgery Vulnerability. This is must have upgrade, so don’t wait and update plugins from admin panel now. List...

View Article


Image may be NSFW.
Clik here to view.

Understand OSGi Concepts. Try to Follow the Puzzle Approach

This is a Guest Post from Dane Dennis, a Product Manager for JArchitect. OSGi became very popular today, thanks to its modularity approach and its capability to enforce logical boundaries between...

View Article

Image may be NSFW.
Clik here to view.

How to Secure your WordPress Plugin? Prevent CSRF Vulnerability

The CSRF vulnerability is the most famous web vulnerability, since … i do not remember, too long! Yesterday I fixed this vulnerability in my WordPress plugins and would like to share the same...

View Article

Image may be NSFW.
Clik here to view.

How to Remove URL / Website Field from WordPress Comment Form?

Are you a WordPress Developer? Developing WordPress Themes? And wanted to remove URL / Website Field from WordPress Comment Form? Then you are at right place. Below simple code will help you in this...

View Article


Image may be NSFW.
Clik here to view.

How to Retry Operation n Number of Times in Java?

We have a number of situations where we need to retry a task n-times if it fails (sometimes with some form of back-off-before-retry logic). Generally, if an exception is thrown, the task should be...

View Article


Image may be NSFW.
Clik here to view.

WordPress: How to Disable Sidebar Widget on Specific Post/Page

Hello WordPress Users, Sometimes you need to disable Sidebar Widget on Specific Post/Page. Below simple code snippet will help you to perform the same.add_filter( 'sidebars_widgets',...

View Article

Image may be NSFW.
Clik here to view.

How to Setup Cron Schedule Jobs in your WordPress Blog

wp_schedule_event($timestamp, $recurrence, $hook, $args) function will help you setup Cron Jobs in your WordPress blog. Schedules a hook which will be executed by the WordPress actions core on a...

View Article

Image may be NSFW.
Clik here to view.

Java Tips: Wherever Possible try to Use Primitive Types Instead of Wrapper...

Wherever possible try to use Primitive types instead of Wrapper classes Not everything in Java is an object. There is a special group of data types (also known as primitive types) that will be used...

View Article

Image may be NSFW.
Clik here to view.

Java Tips: Never Make an Instance Fields of Class Public

Instance variable is a variable declared within the class for which every object of the class has its own value. Making a class field public can cause lot of issues in a program. For instance you may...

View Article


Image may be NSFW.
Clik here to view.

WordPress Tips: How to Check if Post / Page has a Gallery

The Gallery feature allows you to add one or more image galleries to your posts and pages. Up until WordPress 3.5, the gallery shortcode was commonly used in its most basic form: [ gallary ] Following...

View Article

Image may be NSFW.
Clik here to view.

WordPress Tips: Best Plugin to Clean Up your WordPress Database

WP CleanFix is a management tool for for check, repair, fix and optimize your WordPress blog. The Ajax interface allow to manage all status in one only page! As time goes by your WordPress database...

View Article


Image may be NSFW.
Clik here to view.

Top 5 File Management Plugins for WordPress

As our business grows day by day we need complete file management solution for our country. Below are my top 5 File Management Plugins for WordPress. 1) WP Document Revisions It is a document...

View Article

Image may be NSFW.
Clik here to view.

How to Display Most Recently Updated Post/Page in WordPress

Sometimes we need to show most recently updated Posts/Pages in WordPress Theme. Below simple function will help you on the same.<?php $today = current_time('mysql', 1); $count = 5; if (...

View Article


Image may be NSFW.
Clik here to view.

Simple Java Enum Example

Enums are lists of constants. When you need a predefined list of values which do not represent some kind of numeric or textual data, you should use an enum. This is very simple Enum Example. Nothing...

View Article

Image may be NSFW.
Clik here to view.

Java: How to Get the Start Time of a JVM ?

The ManagementFactory class is a factory class for getting managed beans for the Java platform. This class consists of static methods each of which returns one or more platform MXBean(s) representing...

View Article

Image may be NSFW.
Clik here to view.

How to Get the Up Time of a JVM Programmatically?

getUptime long getUptime() Returns the uptime of the Java virtual machine in milliseconds.  Returns: uptime of the Java virtual machine in milliseconds. Example:package com.crunchify.tutorials; /** *...

View Article
Browsing all 1037 articles
Browse latest View live