java collection find elemts

http://www.java2novice.com/java-collections-and-util/arraylist/contains/

Monday, 19 November 2018

Javascript tutorial

https://www.javascript.com/learn/strings

git check commit

https://github.com/saleshuddlegroup/backend-version-1.5/commit/ed92951e4671211d6757377efe111d7657885894

Friday, 2 November 2018

exact word search from mysql

SELECT 
    *
FROM
    `table`
WHERE
    Description regexp '(^|[[:space:]])pen([[:space:]]|$)';

remove empty and undefiend keys from object

lodash  library

var object = { 'a': 1, 'b': '2', 'c': "" };

_.pickBy(object, _.identity);
// => { 'a': 1, 'c': 3 }