0 comments / July 17, 2016

Get string between parentheses or brackets

We can easily get the string between parentheses or brackets using regular expression. This regular expression can be applied in any programming language / scripts like php, javascript,java,perl,python,c#,asp etc.


0 comments / July 15, 2016

Call function from string in javascript without eval

Lets say, we grabed a function call from somewhere and have it in a variable, Simply match the function name and parameters separately using regular expression and call the function using window object.


0 comments / July 10, 2016

Select null values in mysql

"NULL" can be defined as, "A missing unknown value" that is not equal to any values such as 0,1 or empty.


1 comments / April 18, 2016

How to change the address bar color in Chrome, Firefox, Opera, Safari

In your mobile phone, Have you ever noticed a website's address bar turning to a color that matches its theme color? It gives users a unique experience to feel your brand color when they visit your website. Most browsers such as Chrome, Firefox, Opera supports this and It will work on Android, IOS and windows phones.


0 comments / March 31, 2016

[Solved] angular.min.js:6Uncaught Error: [$injector:modulerr]

AngularJS "angular.min.js:6Uncaught Error: [$injector:modulerr]" error when there is no app module initialized.


0 comments / August 29, 2015

How to search text in files by type - linux

"grep" command in linux can be used to search text in files. We can further tune this command to search text in certain file types only. Let see how to do it.


0 comments / August 12, 2015

How to stop,start and restart mysql in command line

we can stop,start or restart mysql by simply passing parameters to mysqld process. mysqld is the main program that does the most of the work in mysql.