Trending questions in Edureka Community

+1 vote
4 answers

What is a simple way to repeat a string in java?

There is already answer wriiten using StringBuilder ...READ MORE

Dec 16, 2020 in Java by Rajiv
• 8,870 points
29,281 views
0 votes
3 answers

Python program to print occurrence of character in string

Try below code string = input("Enter a string: ...READ MORE

May 28, 2020 in Python by Anubhav
• 300 points
30,784 views
0 votes
1 answer

How to increase no of executors in Jenkins?

Hi@akhtar, By default Jenkins has 2 executors. But ...READ MORE

May 13, 2020 in Jenkins by MD
• 95,460 points
20,609 views
0 votes
1 answer

Error:Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Arabic_CI_AS" in the equal to operation.

Hello @kartik, You can resolve the issue by ...READ MORE

May 13, 2020 in Database by Niroj
• 82,840 points
20,556 views
0 votes
1 answer

How to find the nth prime number in Java?

Here is the code to find nth ...READ MORE

Mar 4, 2019 in Java by Priyaj
• 58,020 points
39,356 views
0 votes
1 answer

How to change value of a request parameter in laravel?

Hello @kartik, Use merge(): $request->merge([ 'user_id' => ...READ MORE

Aug 10, 2020 in Laravel by Niroj
• 82,840 points
16,654 views
0 votes
1 answer

How to get the Last Inserted Id Using Laravel Eloquent?

Hello @kartik, Firstly create an object, Then set ...READ MORE

Jul 22, 2020 in PHP by Niroj
• 82,840 points
17,451 views
0 votes
1 answer

How to do error logging in CodeIgniter ?

Hello @kartik, CodeIgniter has some error logging functions ...READ MORE

May 19, 2020 in PHP by Niroj
• 82,840 points
20,173 views
0 votes
1 answer

Uncaught TypeError: Cannot read property 'indexOf' of undefined

Hello @kartik, First of all, you don't need ...READ MORE

Jun 2, 2020 in Java-Script by Niroj
• 82,840 points
19,566 views
0 votes
1 answer

TypeError: list indices must be integers or slices, not str

Hi@akhtar, As we know that the index of ...READ MORE

Oct 15, 2020 in Python by MD
• 95,460 points
13,714 views
0 votes
1 answer

How to uninstall Yarn?

This is maybe because you didn't use ...READ MORE

Feb 5, 2019 in Big Data Hadoop by Omkar
• 69,220 points
40,413 views
0 votes
2 answers

How to add image file in html using python

Hi, I have implemented as below from robot.api import ...READ MORE

Feb 9, 2021 in Python by anonymous
10,751 views
0 votes
2 answers

NameError: name 'raw_input' is not defined

Hi, There may a problem with your python ...READ MORE

Jun 25, 2020 in Python by MD
• 95,460 points
32,698 views
0 votes
1 answer

How do I make a field readonly (or disabled) so that it cannot be edited in Django form?

Hello @kartik, Setting readonly on a widget only makes the ...READ MORE

Aug 6, 2020 in Python by Niroj
• 82,840 points
16,628 views
0 votes
1 answer

How to get the current branch name in Git?

Hi@akhtar, You can run the git branch command ...READ MORE

Dec 22, 2020 in Git & GitHub by MD
• 95,460 points
10,657 views
0 votes
2 answers

How to know Hive and Hadoop versions from command prompt?

Hi, Hadoop and hive have their individual commands. ...READ MORE

Dec 18, 2020 in Big Data Hadoop by akhtar
• 38,260 points
11,335 views
0 votes
1 answer

How to check if list is ascending?

You can go through the example given:  # ...READ MORE

Oct 12, 2020 in Python by Gitika
• 65,770 points
13,658 views
0 votes
1 answer

Error: No module named 'findspark'

Hi@akhtar, To import this module in your program, ...READ MORE

May 6, 2020 in Apache Spark by MD
• 95,460 points
20,512 views
+1 vote
1 answer
0 votes
1 answer

How to create an empty file in Hadoop?

Hi@akhtar, You can create an empty file in ...READ MORE

Oct 13, 2020 in Big Data Hadoop by MD
• 95,460 points
13,574 views
0 votes
1 answer

AttributeError: module 'numpy' has no attribute '__version__'

Hi@akhtar, To avoid this error you can use ...READ MORE

Apr 20, 2020 in Python by MD
• 95,460 points
21,151 views
0 votes
1 answer

How to Execute php file from another php?

Hello @kartik, It's trying to run it as ...READ MORE

Nov 18, 2020 in PHP by Niroj
• 82,840 points
11,967 views
0 votes
1 answer

NB: JAVA_HOME should point to a JDK not a JRE The JAVA_HOME environment variable is not defined correctly

Hi@akhtar, You may get this error if you ...READ MORE

Jun 4, 2020 in DevOps & Agile by MD
• 95,460 points
19,160 views
0 votes
1 answer

How to check if the request is an AJAX request with PHP?

Hello @kartik, Try below code snippet if(!empty($_SERVER['HTTP_X_REQUESTED_WITH']) ...READ MORE

Oct 29, 2020 in PHP by Niroj
• 82,840 points
12,763 views
0 votes
3 answers

2) Which of the following are applicable to Bigdata technologies(Select all applicable)

Replication, transaction processing READ MORE

Nov 25, 2021 in Data Analytics by anonymous
3,413 views
0 votes
1 answer

Error: Cannot find module 'mongodb'

Hello @kartik, The error you are getting indicates ...READ MORE

Oct 15, 2020 in Node-js by Niroj
• 82,840 points
13,301 views
0 votes
1 answer

what is the $(document).ready equivalent without jQuery?

Hello @kartik, There are three options: If script is the last ...READ MORE

Apr 2, 2020 in Java-Script by Niroj
• 82,840 points
21,753 views
0 votes
1 answer

Who has the highest position "Senior" or "Lead" Project Manager?

Manager of Project Managers: A senior position, in larger organizations they ...READ MORE

Jul 22, 2020 in PMP by Gitika
• 65,770 points
16,935 views
0 votes
4 answers

Install Python3 on Mac

Prerequisites You will need a macOS computer with ...READ MORE

Dec 15, 2020 in Python by Roshni
• 10,480 points
19,728 views
0 votes
1 answer

JNLP agent port is disabled and agents cannot connect this way. Go to security configuration screen and change it.

Hi@MD, By default JNLP agent port is disabled ...READ MORE

May 29, 2020 in Jenkins by akhtar
• 38,260 points
19,265 views
0 votes
1 answer

How can I use jquery $.ajax to call a PHP function?

Hello @kartik, Use $.ajax to call a server context (or ...READ MORE

Aug 27, 2020 in PHP by Niroj
• 82,840 points
15,330 views
0 votes
1 answer

Error:Failed to start redis.service Unit redis-server.service is masked

Hello, If redis.service file is missed in directory path /etc/systemd/system/redis.service so we ...READ MORE

May 18, 2020 in Docker by Niroj
• 82,840 points
19,692 views
0 votes
2 answers

How to call perl script in Python script?

If you just want to open a ...READ MORE

Oct 7, 2020 in Python by Reshma
13,543 views
0 votes
1 answer

UnicodeDecodeError: "utf-8" codec can"t decode byte 0xeb in position 8: unexpected end of data

To read this dataset use encoding as ...READ MORE

Jul 15, 2019 in Python by Rishi
32,982 views
0 votes
1 answer

How to access a dictionary element in a Django template?

Hello @kartik, Use Dictionary Items: {% for key, value ...READ MORE

Jul 3, 2020 in Python by Niroj
• 82,840 points
17,677 views
0 votes
1 answer

How to install Azure CLI with yum?

Hi@akhtar, For Linux distributions with yum such as RHEL, Fedora, ...READ MORE

Nov 13, 2020 in Azure by MD
• 95,460 points
11,929 views
0 votes
2 answers

Error:Failed to open stream: Permission denied in Laravel?

I had this problem lately with my ...READ MORE

Nov 4, 2020 in Laravel by anonymous
• 140 points
16,908 views
0 votes
1 answer

How to receive JSON POST with PHP?

Hello @kartik, Try; $data = json_decode(file_get_contents('php://input'), true); print_r($data); echo $data["operacion"]; From your ...READ MORE

Sep 14, 2020 in PHP by Niroj
• 82,840 points
14,451 views
0 votes
1 answer

How to get the base domain/url in php?

Hello @kartik, Use SERVER_NAME. echo $_SERVER['SERVER_NAME'] ...READ MORE

Nov 3, 2020 in PHP by Niroj
• 82,840 points
12,286 views
0 votes
1 answer

How to make $.post() use contentType=application/json in jquery?

Hii, Try this: $.ajax({ url:url, type:"POST", ...READ MORE

Nov 24, 2020 in JQuery by Niroj
• 82,840 points
11,367 views
0 votes
1 answer

How to create a laravel hashed password?

Hello @kartik, Hashing A Password Using Bcrypt in Laravel: $password ...READ MORE

Oct 6, 2020 in Web Development by Niroj
• 82,840 points
13,467 views
+1 vote
1 answer

ssh: connect to host localhost port 22: Connection refused in Hadoop.

Hi@akhtar, You need to uninstall SSH and reinstall ...READ MORE

Dec 18, 2020 in Big Data Hadoop by MD
• 95,460 points
10,240 views
0 votes
1 answer

An error occurred (ResourceNotFoundException) when calling the DescribeCluster operation: No cluster found for name: fargate-cluster.

Hi@akhtar, I think you need to tell your ...READ MORE

Jul 6, 2020 in AWS by MD
• 95,460 points
17,322 views
0 votes
1 answer

How to rename the Hive table?

Hi@akhtar, You can rename the table name in ...READ MORE

Oct 19, 2020 in Big Data Hadoop by MD
• 95,460 points
12,793 views
0 votes
1 answer

How to post the parameter in ajax call of jquery datatable?

Hello @kartik, Just pass it like a normal ...READ MORE

Jun 16, 2020 in PHP by Niroj
• 82,840 points
18,144 views
+1 vote
2 answers

Which is not considered as iot application ?

smart subway READ MORE

Aug 28, 2020 in IoT (Internet of Things) by phyoe lay
17,781 views
0 votes
2 answers

How can I write a program to add two numbers using functions in python?

there is sum() function as a built ...READ MORE

Oct 25, 2020 in Python by anonymous
23,855 views
0 votes
1 answer

How to Stop observable.timer in Angular?

Hello @kartik, There're are basically two ways: call unsubscribe() on the ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,840 points
14,476 views
0 votes
1 answer

Error:Lost connection to MySQL server at 'reading initial communication packet', system?

Hello, You have to follow the below steps: bind-address ...READ MORE

Apr 9, 2020 in PHP by Niroj
• 82,840 points
21,042 views
0 votes
1 answer

"msg": "Failed to connect to the host via ssh: root@192.168.0.179: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).",

Hi@akhtar, You need to pass the username and ...READ MORE

Jul 28, 2020 in Ansible by MD
• 95,460 points
16,292 views