Compare two dates in JavaScript using moment.js

Moment.js is a great JavaScript library to work with date and time. If you’re looking for a solution to compare two dates in JavaScript, look no further than moment.js. It’s got great stock functions to help you play with date and time. Get current time To get the current time in moment.js you just call moment(). … Read more

Error response from daemon: conflict: unable to delete (must be forced) – image is being used by stopped container – Docker error – How to fix?

In this post you will learn how to fix the Docker error – Error response from daemon: conflict: unable to delete (must be forced) – image is being used by stopped container. This error occurs when you try to delete a docker image. docker rmi 2938e0bbe9a7 Error response from daemon: conflict: unable to delete (must … Read more

Add an SVG file to your html in Angular

Images can be easily inserted at any section in an HTML page. To insert image in an HTML page, use the <img> tag. But, those days are gone. Img tag easily adds image of any format to your html page. You specify the path of the image and alternate text and you are done. <body> <img src=”/images/logo.png” … Read more

Zsh vs Bash – Which one you should be using?

Z-shell (or Zsh) is an interactive Bourne-like shell and a powerful command-line tool for scripting language including shell scripting. It’s known for its abundance of interactive and customizable features. Zsh users often cite its many advantages and credit it for its efficiency and extensive customization. Bash and zsh are both powerful shells and share many … Read more