Welcome to my blog !

In this post, you learn writing comments in Angular and typescript. You can also write single multiline and documentation comments in Typescript. This includes declare comments in Angular typescript and template HTML components.

January 1, 0001 ·  3 min read

Comments are a piece of statements in a code that will be ignored during Typescript compilation process. Every programming language provides comments. Typescript is a superset of javascript, so it supports the same syntax as javascript provides. Comments are useful for developers to modify the code easily, reusable and helps other developers to understand the code better. It provides extra notes for each piece of code as like below...

How to get current epoch timestamp in javascript

January 1, 0001 ·  2 min read

In this post, You will learn multiple ways to get current epoc timestamp in javascript. epoch time is Unix style in milli seconds since 01/01/1971, that means it returns long number in milli seconds, This is epoch time or unix timestamp Javascript provides Date object provides date and time related things. Note: Javascript runs on client and server side. When you are dealing with date and time related values, You will not get correct results as these are dependent on client machines....

How to create maven project with command line| Eclipse | Intelli

January 1, 0001 ·  5 min read

Maven is a build tool for the java projects. It speeds up the java development build process. maven is one of the Java tools for continuous build integration. Maven has predefined phases or goals. The goals are similar to ant targets. the developer will invoke goals to do their tasks. First, Please make sure that you download maven from the Apache software and install it. If you are not sure how to do it, you can check install maven....

How to convert Set to String space separated in javascript

January 1, 0001 ·  2 min read

There are many ways to convert Set to String with space separatro in javascript. set is a datastructure introduced in latest javascript let’s declare set var set = new Set(); set.add('first'); set.add('second'); set.add('three'); if we want to return string from a set,It is not striaignforward. normally we will use below approaches to print any object. console.log(set); //:[object Set] console.log(set.toString()); //[object Set] This is not what we are expecting instead we are expecting set values in the form of single string like one two three...

How to configure Character Encoding in Maven

January 1, 0001 ·  2 min read

Sometimes, java files compiling with maven or building war file get encoding error as described below. File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! maven character encoding source not working maven read the source code for building and installing artifacts, So It should define the character encoding to read and write files of different encoding types- ASCII, UTF-8 or UTF-16 maven uses default encoding of running platform, i....

You'll get a notification every time a post gets published here.