Digital Marketing

Get Domain from Email address in MySQL

select substring(b.address,POSITION('@'in b.address)+1) as domain If b.address is an email address.

Differences Between Interfaces and Abstract Classes in JAVA

A difference between JAVA abstract classes and interfaces is that abstract classes can implement some of the methods that they define. Interface methods are always abstract.

Java class hierarchies are linear.

A class can have only one direct superclass that itself can have only one direct superclass and so on.

Using docker alpine/git on Windows

Example: docker run -it --rm -v ${PWD}:/git alpine/git clone

Solution: dig: command not found on Ubuntu

 apt install dnsutils

Solution: traceroute: command not found

yum install traceroute -y OR dnf install traceroute -y OR apt-get -y install traceroute 

Solution: ping: command not found on Linux

dnf -y install iputils OR yum -y install iputils OR apt install iputils-ping