How to setup angular project

How to setup Angular project and generate components ?

  1. install latest nodejs from nodejs.org
  2. Go to git bash/powershell ISE/CMD
  3. type following commands,
  4. install Angular : npm install -g @angular/cli
  5. ng new my-newweb-app
  6. ng g c myFirstModule or type mg generate component myFirstModule (optional)
  7. go to project folder ” my-newweb-app ” via commandline itself
  8. type mg serve -o

Other programming notes

select [(ngModel)]=”value” (change)=”selected()”

option *ngFor=”let item of data” [ngValue]=”item”>{{item.name}}</option
</select

selected(){
alert(this.value.name)
}

data:Array = [
{id: 0, name: “Test “},
{id: 1, name: “Test2”}
];

div>  <input ref-email placeholder=”text here” />  </div

What is ELK

What is ELK (Elastic search, Logstash, Kibana) ?

ELK stack is a combination of 3 open-source products as below,

  1. Elasticsearch, a search and analytics engine.
  2. Logstash, that index the data to Elasticsearch. Logstash has a config file that has input,filter and output section. Config file looks like json file.
  3. Kibana, a visualization tool which provides a web based GUI for a user. User can design the bar, plot reporting charts.
    In order to make Kibana and Elasticsearch interact, you need to make both server up and running. Then logstash will index the data to Elasticsearch. 
    Then Kibana would read the data from Elasticsearch and visualize it.

DevOps vs DevSecOps vs NetOps

What is DevOps vs DevSecOps vs NetOps ?

DevOps is the practice of using set of tools, processes and practices to get good agility in software implementation to customers. It combines Dev (software development ) and Ops (information operations). DevOps shortens the development lifecycles and provides Continous Integration & Delivery. 
DevSecOps is when security features are included in DevOps CI/CD flow.
NetOps is when network services are packaged to DevOps.

Jenkins job vs pipeline

What is Jenkins jobs and Jenkins pipeline ?

Jenkins jobs and Jenkins pipeline are essentially same, however pipeline is more staged flow of jobs. For Jenkins pipeline, Jenkinsfile is used.
What is Jenkinsfile?Jenkinsfile is a text file placed in the root project directory. The Jenkinsfile has multiple stages like build, unit test, sonar test, functional,  regression, integration,  performance testing, deployment etc.

Top car companies and their brands

Top car companies and their brands. Some of the top car companies are GM, HYUNDAI, VOLKSWAGEN, GEELY, BMW, PSA,HONDA, NISSAN, FCA, DAIMLER, FORD, TOYOTA, TATA and  RENAULT

Top car brands are,

GM – CHEVROLET, OPEL, HOLDEN, CADILLAC, VAUXHALL, GMC, WULING MOTORS, BAOJUN, BUICK

HYUNDAI – KIA, HYUNDAI

VOLKSWAGEN – AUDI, SKODA, BENTLEY, VOLKSWAGEN, BUGATTI, LAMBORGHINI , PORSCHE

GEELY – GEELY, VOLVO,

BMW – BMW, MINI, ROLLS-ROYCE

PSA -CITROENA,

HONDA – HONDA, ACURA

NISSAN -NISSAN, DATSUN, INFINITI

FCA – FIAT, CHRYSLER,

DAIMLER – BENZ, SMART

FORD – FORD

TOYOTA – TOYOTA, LEXUS, DAIHATSU

TATA – TATA MOTORS, LAND ROVER, JAGUAR

RENAULT – DACIA, RENAULT, SAMSUNG