Skip to content

Instantly share code, notes, and snippets.

View msrbharath's full-sized avatar

Bharath Raj msrbharath

View GitHub Profile
#!/usr/bin/env bash
echo "
----------------------
NODE & NPM
----------------------
"
# add nodejs 10 ppa (personal package archive) from nodesource
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
private SimpleDateFormat getDateFormat() {
if (dateFormat == null) {
dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'"); // ISO 8601 format
dateFormat.setTimeZone(TimeZone.getTimeZone("GMT"));
}
return dateFormat;
}
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.bharath</groupId>
<artifactId>WgsWar</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>WgsWar Maven Webapp</name>
<url>http://maven.apache.org</url>
<dependencies>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.bharath</groupId>
<artifactId>WgUI</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>war</packaging>
<name>Angular UI</name>
<description>Angular UI</description>
<dependencies>