Sandeep G
-
Web Serivices
Web services are client and server applications that communicate over the World Wide Web’s (WWW) via HyperText Transfer Protocol (HTTP).… Read More
-
Design Patterns
In Software Engineering, A design pattern… Read More
-
How to compare 2 table structure in MySQL
Scenario 1: Following query displays whether the differences exists or not. SELECT IF(COUNT(1)>0,’Differences’,’No Differences’) Comparison FROM ( SELECT column_name,ordinal_position, data_type,column_type,COUNT(1)… Read More
-
How to replace Files with specific pattern to pattern less ? Java 8 !!
private String pattern; // Defines pattern for file name ending /* Author: Sandeep Description: Method walk throughout directory recursively */… Read More
-
A Shell Script for FTP
if [ “$#” -ne 5 ] then echo “Parameter strength is not supporting. “$@” is not matching for the required… Read More
-
How to find running script path & its directory in linux ?
SCRIPT=$(readlink -f “$0”) echo $SCRIPT‘ is the script path.’ SCRIPTPATH=$(dirname “$SCRIPT”) echo $SCRIPTPATH‘ is the script directory path.’ Read More
-
How to create timestamp in linux ? For creating backup folder ?
Use this : date +%d-%m-%Y-%H%M%S Assign to a variable and use mkdir BK_TIME=date +%d-%m-%Y-%H%M%S mkdir BK_TIME Read More
-
How to add cacerts to the machine ?
How to add cacerts to the machine ? keytool -importcert -alias xyzsl -trustcacerts -keystore cacerts -storepass changeit -file xyz/xyz.cer keytool… Read More
-
How to generate WAR for Dynamic Web Project via maven ?
Just add pom.xml inside project folder. Add the following: <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>CrunchifyTutorial</groupId> <artifactId>CrunchifyTutorial</artifactId> <version>0.0.1–SNAPSHOT</version> <packaging>war</packaging>… Read More
-
How to build war safely for Dynamic Web Project using maven goals ?
Include following into pom.xml <build> <sourceDirectory>src</sourceDirectory> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <configuration> <projectNameTemplate>[artifactId]-[version]</projectNameTemplate>… Read More
