[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Linked List in C- Insert Node at End of Linked List

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Insert Node at End of Linked List : Source Code : #include<stdio.h> struct node *head=NULL; //Pointer to store the staring node of the linked list //Always stores the address location of first node… Read More »

Read more
Alternative text

Ubuntu – Phones, Tablets, TV – the nxt target

            We are now in mobile world. Everyone is carrying a mobile or tablet which makes them easily to get connected with others all the time. There are a number of commercial applications, software,  operating systems available for it. At the same time open source community is contributing a lot for such kind… Read More »

Read more
Alternative text

Use TELNET in Shell Script or Non-interactive Mode

      TELNET  is used to connect to remote machines to send data or execute commands either using interactive or non-interactive. Interactive mode is quite common where two users connect each others machine to communicate information. However we can automate the TELNET connection using the following command. Note that the sleep command is essential… Read More »

Read more
Alternative text

Elasticsearch Java API – Get Alias List

The following is sample Java program to get the list of aliases in an Elasticsearch instance. Sample Program: package com.report.test; import java.util.ArrayList; import java.util.List; import org.elasticsearch.client.Client; import org.elasticsearch.client.transport.TransportClient; import org.elasticsearch.cluster.metadata.AliasMetaData; import org.elasticsearch.common.collect.ImmutableOpenMap; import org.elasticsearch.common.settings.ImmutableSettings; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.common.transport.InetSocketTransportAddress; public class SampleProgram{ public static void main(String[] args) { String hostname = "localhost"; String clusterName = "elasticsearch"; Settings… Read More »

Read more
Alternative text

javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name – Solved

The exception javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name javax.net.ssl.SSLProtocolException: handshake alert:  unrecognized_name is actually a bug in the Java v1.7. However we wont get this exception in Java v1.6. To solve this issue, you can either roll back the Java version to 1.6 or add the following code to your start of the program. System.setProperty(“jsse.enableSNIExtension”, “false”);

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]