[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Linked List in C – Insertion Sort

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C – Insertion Sort : Source Code : #include<stdio.h> struct node { int data; struct node *next; }; struct node *head=NULL; void insert_sort(int data) { struct node *temp=head; struct node *prev=NULL; struct node *ptr;… Read More »

Read more
Alternative text

Pretty/Style/Indent JSON String in HTML DIV/PRE Tag in Javascript/jQuery

         We come across many situations where we need to display JSON string (pretty/Style/Indent format) inside HTML DIV(<div></div>) tag. The below Javascript code snippet can be used to achieve what you need.  HTML Code <pre id="json"></pre> //DIV tag wont work  Javascript Code var data = { "data": { "attribute1": "value1", "attribute2": "value2",… Read More »

Read more
Alternative text

Haptix from Haptix Touch – 3D Hand Gesture Detection Mouse/Trackpad/Touchpad

         Technologies are changing the way we interact with computers and smartphones. From keypads, touchscreens and hand gestures we are able to use the computers and other devices in easy way. Touchscreens revolutionized the use of smartphones. Now the hand gesture detection is getting its way to come in which is another… Read More »

Read more
Alternative text

“Error Establishing a Database Connection” in WordPress After Changing WordPress Address and Site Address

            I installed WordPress in a VPS. In the General settings of the Dashboard, the WordPress Address and Site Address text box had the IP address of the server instead of the domain name. So I manually changed the IP address to the domain name after which I got an… Read More »

Read more
Alternative text

Enable CORS to Send Cross Domain Request to Elasticsearch using AJAX

           I faced this issue when I used my web application to send AJAX request to get data from Elasticsearch. The web application was deployed in Apache Tomcat (port 8080 was used). XMLHttpRequest cannot load http://localhost:9200/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]