Skip to content

Instantly share code, notes, and snippets.

View jinnabaalu's full-sized avatar

Jinna Baalu jinnabaalu

View GitHub Profile
docker rmi $(docker images -q -f dangling=true)
To clone the repository
git clone <REPO_URL>
> git clone https://github.com/JinnaBalu/GitFlow.git
BY DEFAULT WE"LL BE IN MASTER BRANCH AS WE CLONE
After cloning it we get the same folder named repository
#!/usr/bin/env groovy
node {
stage('checkout') {
checkout scm
}
stage('check java') {
sh "java -version"
}

#CD#

Checkout the code

RUn Unit Test

Build

Run Functional Tests

import { Component, ElementRef, Input, ViewChild } from '@angular/core';
@Component({
selector: 'contacts-list',
template: require('./rack-details.component.html')
})
export class RackDetailsComponent {
public radius:number = 20;
public circleBorder:number = 0.5;
public cols:number = 15;
Download Datastax community Edition from Planet Cassandra
https://academy.datastax.com/planet-cassandra/cassandra
Install it
after this done
Create app using jhipster with casandra database
Preferences Key board shortcuts like in visual studio:
To add our own short cuts to the visual studio code :
Step1 : Preferences->Keyboard shortcuts
Step2 : Functionality : Format code of the file
{ "key": "ctrl+k ctrl+d", "command": "editor.action.format" }
Short Cuts:
Commands in ubuntu
cd to the last argument
| $ cd !$
History of command can be run through
> !?serv calls the command with the same word matcing
Install Nginx :
sudo apt-get update
sudo apt-get install nginx
sudo service nginx start
sudo service nginx restart
sudo service nginx status
sudo service nginx stop