[ 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

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

Query/Access Root Level Properties and Nested Properties of Vertex in Single Query – Gremlin Query – Titan

Gremlin Query: g.V().hasLabel('TEST_LABEL').has('_id','xxxxxxxxxxxxxx').as('v') .select('v').valueMap(true).as('properties') .select('v').properties('nestedPropertiesKey').valueMap().as('nestedProperties') .select('properties','nestedProperties') Sample Response: { "properties":{ "attr1":"value1" }, "nestedProperties":{ "nestedAttr1":"nestedValue1" } } Related Links:

Read more
Alternative text

Virtuix Omni – Advanced Virtual Reality Platform – Includes Natural Movements

          The digital world has now started moving towards the virtual reality computing. The computer and other digital devices are now very much interactive and has filled the gap between the humans and the electronic devices. there are many virtual reality electronic devices in the line up which includes Oculus Rift, Google… Read More »

Read more
Alternative text

AMD Radeon RAMDisk – Software solution – Get faster performance than SSDs with existing RAM

        We all know about computer storage devices namely volatile and nonvolatile storage. Non-volatile storage devices stores the data even during the device is powered off and on the other hand volatile storage devices do not store the data when it is powered off. Hard disks or hard drives used in desktops and… Read More »

Read more
Alternative text

[ LATEST STORIES ]

CATCH UP THE LATEST STORIES

[ SUBSCRIBE TO OUR BLOG ]