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…
How to add class to your host element in Angular
There are different ways to solve that, depending of the situation or what we want to achieve. Solution A :…
How to use navigator and location DOM variables in TypeScript
Let´s assume, we need to access some DOM variables like navigator and location. And we want to do that in…
How to handle window.event with typescript ?
Normally when we want to catch an event on a page in js: window.onkeydown = function (event) { //Do something…
How to set default paramaters for “ng serve” in config file?
instead of typing : ng serve --host example.com --port 4205 We just want to type ng serve Angular CLI 6+…
Type of licensing & terms of use (software licenses) on your project
Different types of software licenses require you to meet certain obligations if you want to reuse the code Public Domain…
Chrome keyboard shortcuts
What if you could navigate Google Chrome at lightning speed? Well, it turns out you can. By learning a few…
The difference between tilde(~) and caret(^) in package.json
Dependencies & Versions Dependencies are specified in a simple object that maps a package name to a version range. The…