To get the next available port:
ng serve --port 0
To change from the default port to another port, update the
The Angular Material tooltip provides a text label that is displayed when the user hovers over or longpresses an element.
The entryComponents array is used to define only components that are not found in html and created dynamically with ComponentFactoryResolver. Angular needs this hint to find them and compile. All other components should just be listed in the declarations array.
CDK: Component Dev Kit.
These are general-purpose tools for building components that are not coupled to Material Design.
Create, host, and share packages with the team.
Create and share Maven, npm, and NuGet package feeds from public and private sources.
This function returns the array removing the object.
_.findLastIndex(array, predicate, [context])
From the underscore.js library.
If the array is an array of objects, use the predicate to search on any object property.
GlusterFS as a persistent data store for Kubernetes container applications.
It's an open-source software-based network-attached filesystem that deploys on commodity hardware.
After RedHat acquired the company, it was first marketed as Red Hat Storage Server, but in early 2015 renamed to be Red Hat Gluster Storage
Ctrl + Shift + P => Command Palette
Ctrl + Shift + X => Extenstions
Ctrl + ` => Integrated Terminal (? Ctrl + J)
Ctrl + B => Toggle Sidebar (right)
Alt + Left Arrow Key => Previous cursor location
Alt + Right Arrow Key => Next cursor location
Ctrl + P => Go to file
F12 => Go to definition
Ctrl + F12 => Go to Implmentation
Ctrl + K, S => Save All
package-lock.json is automatically generated for any operations where npm modifies either the node_modules tree, or package.json.
It describes the exact tree that was generated, such that subsequent installs are able to generate identical trees, regardless of intermediate dependency updates.
This file is intended to be committed into source repositories, and serves various purposes:
These are interfaces that allows you to tap into the lifecycle of directives and components as they are created, updated, and destroyed.
Each interface has a single hook method whose name is the interface name prefixed with ng. For example, the OnInit interface has a hook method named ngOnInit.
Angular calls these hook methods in the following order:
The triple equals operator ( === ) returns true if both operands are of the same type and contain the same value.
Lazy initialization of an object means that its creation is deferred until it is first used.
Asymptotic Notations are languages that allow us to analyze an algorithm’s running time by identifying its behavior as the input size for the algorithm increases. This is also known as an algorithm’s growth rate.
Iris Flowers Dataset is used as the "hello world" dataset in machine learning and statistics.
Tuckman's stages of group development
The forming–storming–norming–performing model of group development was first proposed by Bruce Tuckman in 1965.
EXEC to execute a dynamically generated SQL statement or query.
Executes a command string or character string within a Transact-SQL batch, or one of the following modules: system stored procedure, user-defined stored procedure, CLR stored procedure, scalar-valued user-defined function, or extended stored procedure.
declare @sourceDb sysname = N'[dbSource].[schema].[SourceTable]';
declare @sqlCommand varchar(max);
-- get count of source database table
SET @sqlCommand = 'select count(*) from ' + @sourceDb;
Create Table #UseTempTable
select * from tempdb..sysobjects;