HVAC Blog

Find duplications in array using Lodash (JavaScript)
Lodash is my favorite JavaScript library that includes many useful data manipulation utilities in functional programming style. It can run in Node.js and browsers. The below snippet is an example of using 2 functions filter and includes to find duplications in an...
Get first line of multiline string using JavaScript Regex
Regular Expression can be used in the standard match function to extract the first line of a multiline string, e.g. content of a source file. "This is the first line.\n This is the second line.".match(/^.*$/m)[0]; // => "This is the first line." Explain:...
Refresh Cached Progressive Web App
Progressive Web App (PWA) is getting very popular these days in 2020 because it provides a greater web experience and responsiveness, especially for interactive application. Part of the power comes from various caching strategies which allow smoother experience during...
Subscribe!
Get Started
Mauris blandit aliquet elit, eget tincidunt nibh pulvinar a. Vestibulum ante ipsum primis in faucibus orci luc