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…
Docker Compose (Part II)
Let´s say , we have a new site project with WordPress. To simplify infrastructure management, we want to deploy all…
How to find out which program is using a particular port?
Let´s say , we want to find out which program is using the port 80 and 443 in our computer.…
How to clear the cache in npm
When we install a package using the npm install <package-name> command, npm stores the cache inside the user file system. The default…









