[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

Grails GGTS/Eclipse – Stop Server -Stop Button Not Working (Application Not Stopping/Killed)

           Since Grails version 2.3, there is a feature, Forked Execution which can be configured in grails-app/conf/BuildConfig.groovy to make build classpath independent from the runtime classpath. If you do not want this feature, you can comment the following line in grails-app/conf/BuildConfig.groovy. /* Comment Starts grails.project.fork = [ // configure settings for compilation JVM, note… Read More »

Read more
Alternative text

Elasticsearch – Apply Nested Filter on Nested (Inner) Aggregation

           The following query can be used to apply filter on nested (inner) aggregation. In our example aggregationName2 is the nested aggregation. The filter (bold content) in the input JSON will be applied only for the aggregation aggregationName2. aggregationName2 takes in the output of aggregationName1, then applies the filter which is then processed by aggregationName2… Read More »

Read more
Alternative text

Elasticsearch – Date/Time(String) Add/Subtract Duration – Days,Months,Years,Hours,Minutes,Seconds

Sample Query : POST /test/test/_search { "query": { "filtered": { "filter": { "bool": { "must": [{ "range": { "dateOrTimeAttribute": { "from": "16:31:15", "to": "16:31:15||+10m" } } }] } } } } } Examples: “16:31:15||+10m” “16:31:15||+1d” “2016-02-02||-1M”  

Read more
Alternative text

MYSQL on Linux(Ubuntu) keeps crashing – Solution is to create Swap Space

          There are many internet users who face this problem where the MYSQL on their server getting crashed frequently. I personally faced this problem in my WordPress blog in my VPS. This problem occurs due to lack of memory(RAM) space. i.e. when your RAM usage hits the maximum. This problem can… Read More »

Read more
Alternative text

Linked List in C – Check whether Linked List is Palindrome using Stack

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C – Check whether Linked List is Palindrome using Stack : Source Code : #include<stdio.h> struct node { int data; struct node *next; }; void print(struct node **head) { struct node *temp=*head; printf("\nList:"); while(temp!=NULL)… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]