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.
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.
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.
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.
[Solved] angular.min.js:6Uncaught Error: [$injector:modulerr]
AngularJS "angular.min.js:6Uncaught Error: [$injector:modulerr]" error when there is no app module initialized.
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.
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.