Using an SVG sprite icon system in Angular
I used to work with icon-fonts, much time. Lots of projects ( Site or applications) really need a system for…
Javascript: difference between Object & JSON
Many folks are confused about the difference between JSON and object literal because they have very similar syntax. Object literal…
How to use debounceTime in angular ?
debounceTime delays the values emitted by a source for the given due time. If within this time a new value arrives,…
Classes vs Interfaces in TypeScript
Classes and interfaces are powerful structures that facilitate not just object-oriented programming but also type-checking in TypeScript. A class is…
Difference between Library & Framework?
What is the difference between a Library and a framework? The two concepts are important but sometimes confusing for developers.…
How to import nodes libraries in TypeScript?
Scenario We currently require fs like this in node: const fs = require('fs'); but When we try to import libraries in a…
How to integrate Electron ipcRenderer into Angular app based on TypeScript?
Let´s say we want to use ipcMain / ipcRenderer on our project to communicate from Angular to Electron and back. The Electron side look…
Build Progressive Web App (PWA) with Angular
Let´s use the most recent version of Angular (currently version 12) to build a Progressive Web Application (PWA) that works…
How to kill/terminate the process on specific port ?
Let´s say we have this warning “Port 4200 is already in use” when running the ng serve command“. And all…
The “fatal: refusing to merge unrelated histories” Git error
The “fatal: refusing to merge unrelated histories” Git error occurs when two unrelated projects are merged (i.e., projects that are not aware of each…