Download New Sharecodepoint Android App from Google Play Store : DocScannerPoint : Document Scanner with OCR, PDF: Download Now - programming homework help. Get your programming homework done with expert homework helper. Trust with your paper and you will never regret it.

Welcome to MyQuestionPoint

Ask Any Question Relative to your Sujbect

Visit: Ask Question

How to Host a Jitsi Meet Server using ssh steps by steps

How to Host a Jitsi Meet Server using ssh steps by steps

In this tutorial to tell you how to install Jitsi Meet (and its required components) on a server.

Example parameters: In this example, our fully-qualified domain name (FQDN) is "". All passwords will be set to "sha202023".

Step 1: Log into your server as root (or use sudo) and make sure your server is entirely up-to-date:

apt update
apt full-upgrade

Step 2: Ensure that your hostname and FQDN are set (if not, set them by placing the hostname in /etc/hostname and the FQDN in /etc/hosts):

cat /etc/hostname
dnsdomainname -f
cat /etc/hosts

Step 3: Install the prerequisite packages:

apt install gnupg apt-transport-https

Step 4: Add the Jitsi repository to your package manager and refresh your package lists:

echo 'deb stable/' >> /etc/apt/sources.list.d/jitsi-stable.list
wget -qO - | sudo apt-key add -
apt update

Step 5: Install the Jitsi Meet package:

apt install jitsi-meet

Enter your FQDN when prompted, and select the option to generate a self-signed certificate during installation. 

Step 6: Generate a publicly-usable SSL/TLS certificate using Let's Encrypt:


The server should now be publicly usable. 

Step 7: (Optional): If your server is behind a router performing NAT, forward ports TCP/443 and UDP/10000 to the server's internal IP address. Open the videobridge configuration file:

nano /etc/jitsi/videobridge/

Add these two lines of configuration with the appropriate IP addresses:<Local.IP.Address><Public.IP.Address>

Step 8: To require authentication to create or join a room, open the Prosody configuration file:

nano /etc/prosody/conf.avail/

Change the "authentication" option from "anonymous" to "internal_plain":

authentication = "internal_plain"

Step 9: Open the Jifoco configuration file:

nano /etc/jitsi/jicofo/

Add this option to the bottom of the file:

Step 10: To create a user in Prosody, run this command:

prosodyctl register yourusernamehere P@ssw0rd

Step 11: Restart the Prosody and Jitsi services to apply changes:

systemctl restart prosody
systemctl restart jicofo
systemctl restart jitsi-videobridge2

Step 12: To not require authentication for joining a room while still requiring authentication for creating new rooms, open the Prosody configuration file:

nano /etc/prosody/conf.avail/

Add a new VirtualHost section to the bottom of the file:

VirtualHost ""
authentication = "anonymous"
c2s_require_encryption = false

Step 13: Open the Jitsi Meet configuration file: Code

nano /etc/jitsi/meet/

Uncomment and set the "anonymousdomain" option:

anonymousdomain: '',

Step 14: Restart the Prosody and Jitsi services to apply changes (again):

systemctl restart prosody
systemctl restart jicofo
systemctl restart jitsi-videobridge2

How to enable Intel VT-X or Intel virtualization technology from BIOS.

How to enable Intel VT-X or Intel virtualization technology from BIOS.

If you have encountered the error such as “"This hosting support Intel vt-x, but Intel VT-x is disabled" or – “This virtual machine is configured for 64-bit guest operating systems. 

However, 64-bit operation is not possible” while installing Virtual Machine in VMWARE. 

 In such a case, you have to enable intel virtualization technology from BIOS in order to install a virtual machine.

In my case, I am using HP Laptop and the key to enter the boot menu is ESC. It can be different for different manufactures. You can check for your computer. Sometimes it’s written at the bottom while system boots.  

Steps :
1. Reboot your computer and press the relevant key in order to enter into BIOS. 
2. Scroll different options using the keys written at the bottom.
3. Locate for VIRTUALISATION TECHNOLOGY. For my laptop, it was under system configuration.
4. Select VIRTUALISATION TECHNOLOGY,  Hit enter and choose enabled from the drop-down menu. 7. Save the settings before you exit. Now, try to install the virtual machine and you will be able to install any windows on VM Ware.

How Do I Make a JSON Pretty Printer App Using PHP for Development/Debugging Use as a Coder?

How Do I Make a JSON Pretty Printer App Using PHP for Development/Debugging Use as a Coder?
You'll know you don't wanna publish your app's JSON response, which may include important information, to some third-party website that could easily or accidentally log this info. I think, decrypted passwords might be in your response, API keys, the name of your app. Lots of stuff can't nobody but you should see. So here, make your own JSON PRETTY PRINTER using PHP and RUN IT LOCALLY on your computer.

$str = <<<'EOT'
echo json_encode(json_decode($str), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES);

Save the file. Name it something such as json-pretty-printer.php and then run it on the command line by typing 'php' then the path to your script. Hit the enter button.

How to add code syntax highlighting to blogger

How to add code syntax highlighting to blogger
You can add the highlights library

Add this file to your blogger code.
<link rel="stylesheet"
<script src="//"></script>
Note that this highlighting library requires your post's HTML to wrap the relevant code snippets in a code tag, with the code tag having the class of the relevant language.

For example:
<pre><code class='html'> [My HTML goes here] </code></pre>

Get Two digit after decimal point in Android Studio or Java

Get Two digit after decimal point in Android Studio or Java
How to get two digits after the decimal point in java and android studio
private static String getDecimalFormat(double value) {
    String getValue = String.valueOf(value).split("[.]")[1];
      if (getValue.length() == 1) {
          return String.valueOf(value).split("[.]")[0] +
                "."+ getValue.substring(0, 1) + 
                String.format("%0"+1+"d", 0);
       } else {
          return String.valueOf(value).split("[.]")[0]
            +"." + getValue.substring(0, 2);

System.out.println("value getDecimalFormat:- " + getDecimalFormat(1.0));
value getDecimalFormat:- 1.00

System.out.println("value getDecimalFormat:- " + getDecimalFormat(0.22437891));
value getDecimalFormat:- 0.22

System.out.println("value getDecimalFormat:- " + getDecimalFormat(-54.0));
value getDecimalFormat:- -54.00

System.out.println("value getDecimalFormat:- " + getDecimalFormat(38495.963741));

value getDecimalFormat:- 38495.96

Copy all Files and Folder from Folder in Android studio.

Copy all Files and Folder from Folder in Android studio.
How to copy files from the folder in android studio. please try this:

Example :

AppManifest in the project. Please allow this permission to read and write external storage.
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
public static void copyFileOrDirectory(String srcDir, String dstDir) {
        try {
            File src = new File(srcDir);
            File dst = new File(dstDir, src.getName());
            if (src.isDirectory()) {
                String files[] = src.list();
                int filesLength = files.length;
                for (int i = 0; i < filesLength; i++) {
                    String src1 = (new File(src, files[i]).getPath());
                    String dst1 = dst.getPath();
                    copyFileOrDirectory(src1, dst1);
            } else {
                copyFile(src, dst);
        } catch (Exception e) {
    public static void copyFile(File sourceFile, File destFile) throws IOException {
        if (!destFile.getParentFile().exists())
        if (!destFile.exists()) {
        FileChannel source = null;
        FileChannel destination = null;
        try {
            source = new FileInputStream(sourceFile).getChannel();
            destination = new FileOutputStream(destFile).getChannel();
            destination.transferFrom(source, 0, source.size());
        } finally {
            if (source != null) {
            if (destination != null) {

File Handling in PHP

File Handling in PHP
In any web application, file handling plays a very important role. For different processes, we need to open and process the file. For creating, reading, uploading files, there are many functions in PHP. Any kind of manipulation in the file can be done in a very careful manner. Sometimes files could be deleted or accidentally code gets deleted in some working file, the hard drive could be filled with garbage data, the wrong file chosen for working, etc. likewise many critical situations can occur while handling the file. Therefore file handling is always done carefully.

In PHP there is a read file() function defined for reading a file.

1. fopen() function is used to open a file. The fopen() function defined with two parameters.

$file = fopen("file.txt",'w');

The first parameter in fopen() function is the name of the specified file and the second parameter is the mode for the particular file either read (r) or write (w).

Write mode modify the content of the existing file or it can be used to create the file for the same name if the file does not exist.
  • The (a) mode is used to write the content at the last of the page. The existing file is not deleted. The content can be added from last and the new file is created if the file does not exist.
  • The (x) mode used to write the file but if the file does not exist then it returns false as an error.
  • The (r+) command is used to read/write mode.
  • The (w+) mode is used for write/ read mode and through this content can be modified or deleted. read() function is used to read from an open file.

2. fclose() function is used for closing an open file. For the good developer, it is always recommended that the file must close first after completing the work on the same file.

$file = fopen("file.txt", 'r');

 If we want to read a single line from a file then we use fgets() function.

After calling fget() function, the pointer points to the next line and the process must go on.

The feof() function plays the role when the end of file is reached. It plays an important role in looping.

The fgetc() function is used to read the character from a file.

After calling the fgetc() function for one character then it points to the next character.

PHP is a very easy language and has very many useful functions. By using these functions we can be handling the PHP file easily and efficiently. Therefore File handling in PHP is very beneficial and necessary.

This article is contributed by Aayushi. If you like Sharecodepoint and would like to contribute, you can also write an article using or mail your article to sharecodepoint@gmail. See your article appearing on the sharecodepoint main page and help another programmer.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

Error Configuration : Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced with 'implementation'

Error Configuration : Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced with 'implementation'

WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'. It will be removed at the end of 2018. For more information see: Affected Modules: app

The Error in Android Studio.

Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation' and 'androidTestApi'.
It will be removed at the end of 2018. For more information see:

Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see:

Configuration 'androidTestApi' is obsolete and has been replaced with 'androidTestImplementation'.
It will be removed at the end of 2018. For more information see:

Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'.
It will be removed at the end of 2018. For more information see:

Configuration 'testApi' is obsolete and has been replaced with 'testImplementation'.
It will be removed at the end of 2018. For more information see:


Goto Gradle Scripts.

Then Goto build.gradle(Module: app)

"Configuration 'compile' is obsolete and has been replaced with 'implementation'.

Example :

If you using compile then show the configuration error just replace compile to implementation.

This is the old way of writing the dependency libraries (for Gradle version 2 and below):

dependencies with Warning in android studio 3.1

dependencies {

    compile fileTree(dir: 'libs', include: ['*.jar'])

    compile ''

    compile ''

    compile ''

    compile ''

    compile 'com.squareup.retrofit2:converter-gson:2.1.0'

    compile 'com.squareup.okhttp3:logging-interceptor:3.4.1'

    compile 'com.github.channguyen:rsv:1.0.1'

    compile 'com.valdesekamdem.library:md-toast:0.9.0'

    compile ''

    testCompile 'junit:junit:4.12'


You have to Just Change the following words: 

1) compile to implementation where word compile is returned.

2) testCompile to testImplementation where testCompile is returned.

3) androidTestCompile to androidTestImplementation where androidTestCompile is return.

Check the solution for this Example

dependencies OK in android studio 3.1 | In Android Studio version 3.1 dependencies compile word is replaced to implementation. This is the new (right) way of importing the dependencies for Gradle version 3:

dependencies {

    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation ''

    implementation ''

    implementation ''

    implementation ''

    implementation 'com.squareup.retrofit2:converter-gson:2.1.0'

    implementation 'com.squareup.okhttp3:logging-interceptor:3.4.1'

    implementation 'com.github.channguyen:rsv:1.0.1'

    implementation 'com.valdesekamdem.library:md-toast:0.9.0'

    implementation ''

    testImplementation 'junit:junit:4.12'



If you Want to add a third-party library like retrofit and another library. Then you have to use the implementation Keyword not compile Keyword.

For Example:

This is wrong.
compile 'com.squareup.retrofit2:retrofit:2.4.0'

This is Right.
implementation 'com.squareup.retrofit2:retrofit:2.4.0'

What is Blockchain technology ?

What is Blockchain technology ?

Blockchain technology is a decentralized and distributed approach for recording digital assets in a ledger format. Distributed ledger technology is known as blockchain technology. Through the cryptographic hashing and distributed ledger, the blockchain technology makes the digital assets unaltered. It implies through this wonderful technology the distributed ledger history would not change. The best example of blockchain technology is Google docs as the document is created and transferred to many people. All have access to change or modify the document and these changes are reflected in the real-time scenario. In the blockchain technology, no one is locked for changes done by the other party.

This decentralization of the document makes everyone to access the data file at the same time. All the changes are completely transparent to each and every people to whom the google doc is shared. This approach of decentralization is called blockchain technology.

Blockchain is more complicated than Google docs. In the blockchain, digital assets are not copied or transferred. This allows real-time access, as the changes may reflect instantly.

Blockchain is trustworthy and promising technology. It helps in reducing risks from fraud.
Blockchain is a revolutionary technique. Blockchain is the whole process of sharing valuable data to others also if you do not trust them.

Blockchain consist of three major concepts: - 1. Blocks 2. Nodes 3. Miners. Every blockchain chain has built from multiple blocks. Each block has data and a 32-bit whole number is called the nonce. A nonce generated the cryptographic hash when the first block is created. Miners create blocks on a chain through processing called mining. Nodes are a very important part of distributed ledger via the nodes. Therefore, blockchain is the scalability of trustworthy technology.

Difference between GET and POST method in PHP

Difference between GET and POST method in PHP

GET & POST methods are superglobals which means they can easily access from any place anywhere. Get and Post method are very useful methods for form handling. Most of the developers prefer POST for sending form data. GET and POST, both methods are creating an array with key and value pairs. The name in the array is the form control field name the value is the entered data by the user.

GET & POST methods both are used as $_GET and $_POST. As they both are not required scope for their accessibility. We can access these methods anywhere in any function, any class or file as we do not need to do any functionality for the same.

If we simply say about $_GET is none other than an array of variables passed to script which is executing on that time via URL parameters.

The HTTP POST method is used in $_POST which is also an array of variables. When using Get method in form submission then the user information either names or values) is visible in URL to everyone. Get also has some specified limits of only 2000 characters i.e. it can send form data only within particular limits.

In GET it is possible to bookmark the page, as data is shown in  URL which is beneficial in some cases. GEt is always used for sending the data which is not private. As there is no security in getting because everything is displayed in URL. Hence sometimes we avoid Get while sending passwords and other private information.

On the other hand, information while sending with the POST method is not visible to the users. So, it is more secure than GET method.

 In the POST method, all the names and values are embedded in the HTTP request, as it is not visible to others. There is no specified limit for sending data. We can send an unlimited amount of characters while sending form data through the POST method.

As compared to the GET method POST supports advanced functionality.

In POST, while uploading files to the server it supports multi-part binary input. In the post, it is not possible to bookmark the page.

 In short, the secure method is the POST method for sending form data in comparison to the GET method.

Introduction to Stack - Push & Pop Operations

Introduction to Stack  - Push & Pop Operations

The stack is a storage device that is used to store information in the manner of LIFO.LIFO stands for Last In First Out. The stack is a collection of objects. The Stack Pointer is a pointer that is used to represent the highest element of the stack and represented as SP. Stack has several applications in computer programming.

Stack has two operations:-

POP: POP operation is used to remove an item from the stack. Pop operations are used to retrieve an item that is present at the top of the stack.

PUSH: PUSH operation is an insertion operation that is used to store or insert an element at the top of the stack.

When an element is removed or inserted, the same operations will be performed only at the top element of the stack. When the top element is empty which is represented by MAXTERM then this is the condition of UNDERFLOW. And when the Maxterm is having an element then also we have to add one more element then the top is shifted towards upwards and this condition is known as OVERFLOW of the stack.

POP operation decreases the stack depth or length and PUSH operation increases the stack length. FIFO stack ensures that the data is retrieved in the same order in which it is entered. A stack is a recursive data structure.

Structural definition of a Stack:
* A stack is either empty.
* Stack has the top element on which PUSH & POP operations are performed.
* Stack has similar data types object list in an ordered format.
* Stack size is not fixed. It can be variable.
* Stack doesn't consume a fixed amount of memory.

Android App - Type of android app

Android App - Type of android app

Android app is one of the most popular among us. Android app is available on all android phones. Games and many more apps are built in these days for android phones. The android app is created for users who use phones all the time. The android app makes the work easier for everyone. For Example before if we have to deposit money to account then we have to go to the bank but now we don't need to go anywhere. Our mobile does everything in any place. The android app makes the process simpler. Through this, we can deposit money or we can do multiple transactions instantly without any delay.

Android app is having games and other popular features too like barcode scanner, camera, etc. We can download any android app through the Google Play store. Play Store is the place where we can install any app. Developers first make an android app in ionic, PhoneGap or great native and then publish it on play store then you can download the Android app.  

Android studio is the platform that is commonly used to develop an android app. You can also build your own app if you have a good knowledge of development. Sometimes the storage space problem also occurs while installing a new android app from the play store. Android apps are written in java programming languages and use java libraries. 

Android app is of two types:
1.Hybrid App
2.Native App

Amazon app stores and many other android apps focussed websites are used for installing android apps. Android app is running on an android platform which is a software application. A typical Android app is designed for smartphones, tablets, Pc running on the Android operating system. Android is a mobile operating system which is very much helpful for us to make our tasks better than earlier.

Python vs PHP || Interesting Fact

Python vs PHP || Interesting Fact

Python: Python is a high level understood/explained and object-oriented programming language that huge library support and is used for developing standalone programs and scripting sets of computer instructions for different domains. It was created by Guido Van Rossum and released its first version in the year 1990.

PHP: Hypertext Preprocessor invented in the year of 1995 also known as PHP, is a server-side scripting language. It is used for creating energetic/changing HTML content over the web. It is popularly used for creating XML documents, Flash animations, graphics, PDF files and much more.

Ease Of Use:-

Python is a powerful, portable, open-source and is (compared to other things) easy to learn and fun to use. It has many features that other programming languages do not support. The set of rules for forming language is simpler and code is more readable in Python compared to other programming languages like PHP, C, and C++.
PHP is not used for general-purpose programming and is only used for creating energetic/changing web content with HTML. The only reason to stick with PHP is its ease of use.


Learning Python is better than PHP in a long term project. PHP has a low learning curve, it is easy to get started with PHP.
(solid basic structure on which bigger things can be built).Compare to PHP, Python has a lower number of solid basic structures on which bigger things can be built. Popular ones are Django, Flask.PHP has a huge number of (solid basic structure on which bigger things can be built). Popular ones are Laravel, Slim.

The set of rules for forming language i.e. Syntax is easy to remember almost the same as human language. The syntax is a little bit unusual/amazing compare to Python, it has a wide range of common ways of putting a name on something. Key Features is having less line no of code, Fast use/military service and energetic/changing typing. Open Source and easy use/military service.Language type. It is a general-purpose programing language. It is a web development programing language. Popular Field is the Machine Learning, Data Science, (not made by nature/fake) Intelligence and Automation job. Choice of language in web development. Compare to PHP, Python is more easy to maintain. A little bit difficult to maintain.

Popularity Pace:-

After 2016 Python's (quality of being liked a lot or done a lot) is increasing quickly. At the same time PHP losing its (quality of being liked a lot or done a lot) on StackOverflow.

Community Support:-

Python has grown in the field of CGI scripting and in few years it has become one of the most widely used programming languages for Web Development.
Whereas web scripting is new in PHP. Though PHP is a powerful programming language when it was (at first/before other things happened) released, it would provide the same extensibility features.

End/end result:-

Both PHP and Python without any doubt are the most preferred programming languages for backend web development, but their own distinguishing points. PHP is based on object-oriented programming whereas Python is both object-oriented and procedure-oriented programming. Python is a general-purpose programming language used for backend web development. On the other hand, PHP is not designed for general-purpose programming it is only used for backend web development. The only reason for sticking with PHP is its ease of use and strength and health.

Get Free 99+ High do follow Authority Backlinks Site List & building backlinks

Get Free 99+ High do follow Authority Backlinks Site List & building backlinks
The authority backlinking DoFollow site list will be very helpful for your website SEO. You do this to improve your website presence online.

Top Reasons Why Web Developers Choose AngularJS

Top Reasons Why Web Developers Choose AngularJS
AngularJS is an open source web application framework. It was designed and developed by Google developers to make front-end development simpler. It comes in handy in developing single page applications. The framework has become very popular among web developers thanks to its horde of great and helpful features, like the need for less code, ease of understanding, and fast development.

With the high demand for websites as a result of the explosion of e-commerce and high technological growth, AngularJS web development has become a great asset in building interactive and single page websites and mobile apps within the allocated budget and in record time.

Here are some of the top reasons why developers choose AngularJS:

High performance :
AngularJS is at the top of web developers’ choices because it is so easy to use and maintain. Additionally, it has an incredible efficiency to build new features, thanks to its robustness and intuitive nature. It saves web developers lots of time that they would otherwise spend debugging, as it is so easy to make minor changes. AngularJS has tons of great features, like Data Binding, Content Sanitization, Animations, Routing, Directives, and Form Validation; in combination with its ease of maintenance, AngularJS allows web developers to have sites up and running in a short amount of time and within the set budgets.

Minimizes line coding :
Developers always seek viable ways to lessen the size of codes, and AngularJS comes in handy in doing so. The developers do not have to come up with an MVC pipeline. Additionally, HTML allows simple application building without getters or setters.

Offers the benefit of frequent testing :
Testing is critical to determine if your application has any errors, hence reducing the number of unnecessary mistakes in your application. AngularJS web development has the advantage of allowing for many tests, thus making it easier to develop bug-free apps. With such benefits from this framework, you can get the best apps for your particular purpose by engaging AngularJS experts from Active Wizards. This way, you can get the most out of the infinite opportunities in the global market that are only accessible to those with the appropriate digital tools.

Comprehensive :
Another great benefit of AngularJS is that it gives you a complete solution to smooth and seamless front-end development. Using this JavaScript framework, developers do not have to look for any other framework or plug-in, and building data-driven web applications is easy. With the REST activities, developers can quickly communicate with their clients from the server and obtain the required information to link up with web pages.

Effective handling of dependencies :
Developers have the task of arranging dependencies, and dynamic loading is significantly minimized when using AngularJS. Developers do not need to be concerned about namespace and instance. What they need to do is name, which the AngularJS will do for them. Also, AngularJS takes care of the complete lifecycle of the objects. In other words, the handling of dependencies by this framework is exceptional.

Conclusion :
As the demand for web apps is on the rise, the popularity and demand for AngularJS web development will only grow exponentially. Also, this JavaScript framework is a top choice for first-time web developers, because it makes it easy to develop similar web and mobile applications in shorter time periods and within reasonable budgets.

About the author :
Steve Patrick is a freelance writer with an interest in computing and technology. He writes for Active Wizards, a market leader company in Data Science and Machine Learning.