Java provides a mechanism, called object serialization where an object can be represented as a sequence of bytes that includes the object's data as well as information about the object's type and the …
How to get Server IP Address and Hostname in Java
In Java, you can use InetAddress.getLocalHost() to get the Ip Address of the current Server running the Java app and InetAddress.getHostName() to get Hostname of the current Server name. package …
Read Article about How to get Server IP Address and Hostname in Java →
Google Analytics Universal Tracking now in All in One Webmaster WordPress Plugin
On March 22, 2013 Google has announce Google Analytics Universal Tracking system. I'm proud to announce that - "All in One Webmaster" WordPress plugin updated to reflect that changes. Here is a quick …
WordPress: How to Force Specific Pages to be Secure – SSL – https
SSL Certificates are small data files that digitally bind a cryptographic key to an organization’s details. When installed on a web server, it activates the padlock and the https protocol (over port …
Read Article about WordPress: How to Force Specific Pages to be Secure – SSL – https →
How to Generate Java Thread Dump Programmatically
What is Thread Dump? The thread dump is a snapshot of exactly what's executing at a moment in time in your Java Program. While the thread dump format and content may vary between the different …
Read Article about How to Generate Java Thread Dump Programmatically →
How to Generate Java Deadlock Programmatically and How to Analyze Deadlock
Deadlock is a programming situation where two or more threads are blocked forever, this situation arises with at least two threads and two or more resources. Here I have written a simple program …
Read Article about How to Generate Java Deadlock Programmatically and How to Analyze Deadlock →
How to Disable Post Meta Info on Homepage in Genesis Framework
Sometimes you don't need to show Category and Tag information on Home/Archive etc page. Put below simple code into your theme's functions.php file to remove those from Home/Archive page. /** …
Read Article about How to Disable Post Meta Info on Homepage in Genesis Framework →
How to Display Number of Comments in Comment Header Text in Genesis Framework
Crunchify runs on Genesis Framework. We are using Eleven40 Genesis WordPress Child Theme. This sample is for you if you need to style the comment count number for a post so that it’s different from …
Read Article about How to Display Number of Comments in Comment Header Text in Genesis Framework →
How to Find All Permutations of a String in Java – Example
In mathematics, the notion of permutation is used with several slightly different meanings, all related to the act of permuting (rearranging) objects or values. Informally, a permutation of a set of …
Read Article about How to Find All Permutations of a String in Java – Example →