Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles on Trending Technologies
Technical articles with clear explanations and examples
C program to calculate distance between two points
Given with the two points coordinates and the task is to find the distance between two points and display the result.In a two dimension plane there are two points let’s say A and B with the respective coordinates as (x1, y1) and (x2, y2) and to calculate the distance between them there is a direct formula which is given below$$\sqrt{\lgroup x2-x1\rgroup^{2}+\lgroup y2-y1\rgroup^{2}}$$Given below is the diagram representing two points and their differences$$\frac{(x_2-x_1)}{(x_1, y_1)\:\:\:\:\:\:(y_2-y_1)\:\:\:\:\:\:(x_2, y_2)}$$Approach used below is as follows −Input the coordinates as x1, x2, y1 and y2Apply the formula to compute the difference between two pointsPrint the distanceAlgorithmStart Step ...
Read MoreHow to install and configure own wordpress instance on linux centos 7
In this article, we will learn about how to install WordPress in an open source website and blogging tools which works with PHP and MySQL. WordPress is the most popular Content management system (CRM) used on the Internet and it has more plugins to extend the functionality of the WordPress.PrerequisitesBefore we set up, the we need to have the below –We need a non-root user with Sudo privilegesWe need to setup LAMP (Linux, Apache, MySQL and PHP) which needs to be installed on the Centos 7 Server.Creating MySQL Database and User for the WordPressAssuming that we have already had LAMP ...
Read MoreC program to calculate distance between three points in 3D
Given with the 3-D plane and hence three coordinates and the task is to find the distance between the given points and display the result.In a three dimension plane there are three axis that are x-axis with its coordinates as (x1, y1, z1), y-axis with its coordinates as (x2, y2, z2) and z-axis with its coordinates as (x3, y3, z). To calculate the distance between them there is a direct formula which is given below$$\sqrt{\lgroup x2-x1\rgroup^{2}+\lgroup y2-y1\rgroup^{2}+\lgroup z2-z1\rgroup^{2}}$$Given below is the diagram representing three different axis and their coordinatesApproach used below is as follows −Input the coordinates as (x1, y1, ...
Read MoreUpgrade your computer for free to windows 10
People who have been using windows operating system usually encounter persistent messages to upgrade to Windows 10. The good news is that, upgrading to Windows 10 is now free. But in case of Apple, it allows its users to upgrade to newest operating system for free at any point. If users delay, they might land themselves in trouble as Windows is taking a very different approach.All those who have not upgraded their system to Windows 10 by June 29, 2016, they need to spend about $119. And those who consider, the cost of upgradation is more than they can handle. ...
Read MoreKnowing How much traffic a website gets
When your website enters fierce competition of the online market, you require to know how much traffic it is drawing and how is it performing in terms of not only its presence on the internet but also in terms of its visibility in the market.The website traffic information is vital for validating its content and understanding on – how much traffic it should bring to get potential results. This data is very useful for the website owners as well as the advertisers. Let us see some tools for knowing how much traffic a website gets.Alexa.comAlexa is an Amazon company known ...
Read MoreSending large files over internet
How large file is really considered and treated as large entirely varies as per the context. At times it is required to send and share very large files over Internet. High resolution, large size image files, PDF files, MP3 files containing audio of around 3 minutes can come at least 5MB size.The email service providers often put size limits on the size of the attachments. In addition, if the possible large files are sent through email as attachments, they take additional overload of few KBs. It becomes even tougher when you need to send it to multiple recipients. Today, there ...
Read MoreHow to install graylog 1 3graylog2 on centos 7rhel 7
In this article we will configure and install the Graylog 1.3 (which is also referred as Graylog2) on CentOS 7, Graylog gathers the syslog’s of the machines into a centralized location. Graylog is a log management and analysis tool that can be used in many cases, for monitoring the SSH logins and unusual activity for debugging applications and logs, the uses Elasticsearch, Java and MangoDB.Graylog Features and ComponentsGrayLog Server Node − Server mainly receives and processes the messages and communicates with the non-servers components.Elastic search Nodes − This will store the messages and logs.MangoDB − This stores metadata.Web Interfaces − ...
Read MoreHow to use microsoft keyboard app word flow
Microsoft has launched a new keyboard app called “WordFlow” that would make your chatting and texting lot more quick and fast for its users. This new keyboard app called “WordFlow” has a fast-typing feature which was just introduced in Windows Phone to iOs. It predicts what the user is trying to write making it much easier for user to complete their sentences.On the basis of user feedback the WordFlow has developed some new features. The library including emoji’s and shades have been expanded. Issues of bad accuracy while tapping the space bar have been solved. The memory and performance have ...
Read MoreHow to install and configure dropbox as a service on centos 7
In this article, we will learn how to configure and install the Dropbox client and run as a service on CentOS7 server. This makes the server to connect with Dropbox and keep a copy of files synchronized. To complete the setup we needed a non-root user with Sudo permissions or a root user.Installing the Dropbox ClientWe can download the latest Linux Dropbox client from the below link.# cd ~ # curl -Lo dropbox-linux-x86_64.tar.gz https://www.dropbox.com/download?plat=lnx.x86_64After downloading, we need to create a folder for client software and extract the compressed file which we downloaded.# mkdir -p /opt/dropbox-client # tar xzfv dropbox-linux-x86_64.tar.gz --strip ...
Read MoreHow to use the new search engine jelly
With all new search engines available it makes finding things lot easier. Yes, we are talking about the latest trending search engine Jelly or let’s say Ask Jelly. A search engine for busy people. It gets custom and concise answers for humans. But feeling and understanding are things which people still do better than algorithms.The latest version of Jelly i.e. Jelly 2.1 has a new feature referred as the magic answers. It can answer tens of thousands of questions. By magic answer we means that one great or best answer will be shown which is highly relevant with your question. ...
Read More