Technology Source

[ POPULAR STORIES ]

CATCH UP THE POPULAR STORIES

REGEX (Regular Expression) to Remove/Strip HTML Tags in PERL

The following regular expression can be used in Perl progamming language to remove/strip HTML tags in given string. Regular Expression: s/<(?:[^>'”]*|([‘”]).*?\1)*>//ig   Example: my $data ='<script>TEST</script> <img src="img.jpg">'; $data =~ s/<(?:[^>'"]*|(['"]).*?\1)*>//ig; print $data; Output: TEST

Read more
Alternative text

Java JConsole – Local Process List Empty – Solved

JConsole or  Java Monitoring and Management Console Open command prompt Execute the command echo %TMP% Now you will get a path to a folder where temporary files are stored. E.g. C:\Users\Username\AppData\Local\Temp Go to that folder Remove the folder named hsperfdata_USERNAME Restart JConsole application and now you will have the list of currently running Java processes in the local process… Read More »

Read more
Alternative text

Computer Science Progamming Video Tutorials Links

Android Android Application Development Tutorials by thenewboston (200 Videos) Android 4.0 Tutorials by TwistedEquations (43 Videos) Android Tutorials: For Apps & Game Development by damarias Rodriguez (35 Videos) 80+ Best Resources for Android Developers 2016 (Blogs, Forums & More) Ruby on Rails Ruby On Rails Video Tutorials – Learn Rails By Examples by RubyOnRailsVideos (75 Videos) Riding Ruby on Rails Video… Read More »

Read more
Alternative text

Linked List in C- Print Linked List in Reverse Order using Recursion

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Print Linked List in Reverse Order using Recursion : 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… 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 ]

Close Bitnami banner
Bitnami