Install LibreOffice 6.0.4 in CentOS

LibreOffice is an open source and much powerful personal productivity office suit for Linux, Windows & Mac, that provides feature rich functions for word document, data processing, spreadsheets, presentation, drawing, Calc, Math and much more. LibreOffice has large number of satisfied users across the globe with almost 120 million downloads as of now. It supports … Read more

Asterisk : Remote-Party-Id

asterisk

Asterisk : Remote-Party-Id If you have set “sendrpid=yes” in the settings for the destination peer in sip.conf then Asterisk will always add an RPI header. Here is a typical example: Remote-Party-ID: “Satya” <sip:1000@192.168.1.10>;privacy=off;screen=no The name “Satya” and the number, 1000, get copied from the From header of the inbound call leg. The IP address 192.168.1.10 … Read more

Introduction of Computer Network

 Introduction to Computer Networks Data Communication:When we communicate, we are sharing information. This sharing can be local or remote. Between individuals, local communication usually occurs face to face, whileremote communication takes place over distance. Components:A data communications system has five components. 1. Message. The message is the information (data) to be communicated. Popularforms of information … Read more

Basic Networking

computer Network A network is any collection of independent computers that communicate with one another over a shared network medium. A computer network is a collection of two or more connected computers. When these computers are joined in a network, people can share files and peripherals such as modems, printers, tape backup drives, or CD-ROM … Read more

Java Program to print Odd numbers from 1 to n or 1 to 100

public class JavaEx { public static void main(String args[]) { int n = 100; System.out.print(“Odd Numbers from 1 to “+n+” are: “); for (int i = 1; i <= n; i++) { if (i % 2 != 0) { System.out.print(i + ” “); } } } }

Java Program to Check Armstrong Number

public class JavaEx { public static void main(String[] args) { int num = 370, number, temp, total = 0; number = num; while (number != 0) { temp = number % 10; total = total + temp*temp*temp; number /= 10; } if(total == num) System.out.println(num + ” is an Armstrong number”); else System.out.println(num + ” … Read more

Java Program to Add Two Complex Numbers

  public class ComplexNumber{ double real, img; ComplexNumber(double r, double i){ this.real = r; this.img = i; } public static ComplexNumber sum(ComplexNumber c1, ComplexNumber c2) { ComplexNumber temp = new ComplexNumber(0, 0); temp.real = c1.real + c2.real; temp.img = c1.img + c2.img; return temp; } public static void main(String args[]) { ComplexNumber c1 = new … Read more