Trending questions in Edureka Community

0 votes
1 answer

Accessing the index in 'for' loops?

Using an additional state variable, such as ...READ MORE

Dec 16, 2020 in Python by Gitika
• 65,730 points
1,827 views
0 votes
1 answer

GCP Custom IAM role creation with Terraform.

Hi@akhtar, You can use the google_project_iam_custom_role resource in Terraform. ...READ MORE

Dec 1, 2020 in Terraform by MD
• 95,460 points
2,474 views
0 votes
2 answers

What is the difference between git fetch and git pull?

Hii.. I HOPE BELOW ANSWER  MAY HELP YOU- In ...READ MORE

Jul 18, 2020 in Git & GitHub by anonymous
11,282 views
0 votes
0 answers

Selenium Download Keep and Discard Problem (.cer or xml extensions)

I am working with Selenium and javaJava.ı have a ...READ MORE

Jan 6, 2021 in Software Testing by Merve

edited Mar 4, 2025 954 views
+1 vote
4 answers

Is there a way to change the Jenkins build number while building a job?

If you have access to the script ...READ MORE

May 7, 2019 in Jenkins by Atul
33,106 views
0 votes
1 answer

How can I print literal curly-brace characters in python string and also use .format on it?

You need to double the {{ and }}: >>> x = ...READ MORE

Dec 18, 2020 in Python by Gitika
• 65,730 points
1,728 views
0 votes
1 answer

How to find the index of an item in a list?

One thing that is really helpful in ...READ MORE

Dec 3, 2020 in Python by Gitika
• 65,730 points
2,375 views
0 votes
0 answers

Kafka to HDFS using kafka-conncet

Hi, Can you please share steps to write ...READ MORE

Jan 7, 2021 in Apache Kafka by Narayana

edited Mar 4, 2025 903 views
0 votes
0 answers

i want webinars recording

i want webinars recording that i registered READ MORE

Jan 16, 2021 in Data Analytics by Yasmeen

edited Mar 4, 2025 540 views
0 votes
1 answer

How to catch net::ERR_CONNECTION_REFUSED?

Hello @kartik, You have access to online/offline in ...READ MORE

Jun 18, 2020 in Java-Script by Niroj
• 82,800 points
9,640 views
0 votes
1 answer

How to override the path of PHP to use the MAMP path?

Hello @kartik, In your home folder /Users/David for exmaple, you ...READ MORE

Nov 3, 2020 in PHP by Niroj
• 82,800 points
3,671 views
0 votes
1 answer

How to embed a .png image into an html page?

Hello @kartik, Try this: div.image { width:100px; ...READ MORE

Nov 16, 2020 in PHP by Niroj
• 82,800 points
3,109 views
0 votes
0 answers

How to mount an S3 bucket in an EC2 instance?

Hi Guys, I am new to AWS. I ...READ MORE

Dec 17, 2020 in AWS by akhtar
• 38,260 points
1,799 views
0 votes
1 answer

ValueError: Found input variables with inconsistent numbers of samples: [616, 308]

Hi@Alshwarya, I think there is a problem with your ...READ MORE

Sep 23, 2020 in Machine Learning by MD
• 95,460 points
5,441 views
0 votes
1 answer

How can I remove a trailing newline?

Try the method rstrip() (see doc Python 2 and Python 3) >>> 'test ...READ MORE

Dec 18, 2020 in Python by Gitika
• 65,730 points
1,716 views
0 votes
1 answer

How to reboot a RedShift Cluster?

Hi@akhtar, You can reboot a cluster. with the CLI ...READ MORE

Nov 27, 2020 in AWS by MD
• 95,460 points
2,631 views
0 votes
1 answer

How to delete an empty ECS cluster using AWS CLI?

Hi@akhtar, You can delete the specified ECS cluster. The ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,460 points
3,451 views
+1 vote
1 answer

How to get the HTML source of a webpage using Selenium in Java?

There is a method called getPageSource() in ...READ MORE

Jan 11, 2019 in Selenium by Sneha
32,249 views
0 votes
1 answer

For Professional window GUI develepoment which python lib/module/framework is best?

HI, @Ganesh, Tkinter is one of the most ...READ MORE

Dec 24, 2020 in Python by Gitika
• 65,730 points
1,452 views
0 votes
1 answer

Cumulative distinct count filtered by last value - DAX

MyFilteredCumulativeMeasure = COUNTROWS( FILTER( ...READ MORE

Nov 18, 2020 in Power BI by anonymous
• 65,730 points
3,030 views
0 votes
1 answer

When are variables defined in Terraform?

Hi@akhtar, You can provide the value of each ...READ MORE

Dec 7, 2020 in Terraform by MD
• 95,460 points
2,191 views
0 votes
1 answer

What are the proper permissions for an upload folder with PHP/Apache?

Hello @kartik, You can create a new group ...READ MORE

Nov 13, 2020 in PHP by Niroj
• 82,800 points
3,208 views
0 votes
1 answer

How do you append to a file in Python?

with open("test.txt", "a") as myfile: ...READ MORE

Dec 20, 2020 in Python by Gitika
• 65,730 points
1,639 views
0 votes
1 answer

ImportError: cannot import name 'API_KEY' from 'forwarder'

The AWS package in PyPI is not AWS's official ...READ MORE

Nov 6, 2020 in Python by Gitika
• 65,730 points
3,507 views
0 votes
1 answer

Create an S3 bucket in a specific region from the command line.

Hi@akhtar, You can use LocationConstraint in your command. ...READ MORE

Oct 7, 2020 in AWS by MD
• 95,460 points
4,811 views
0 votes
0 answers

Which will be the best coding platform to teach kids coding?

Hi, My son is interested in coding and ...READ MORE

Jan 12, 2021 in Others by angelamaria
• 120 points

edited Mar 4, 2025 643 views
0 votes
0 answers

How can i dynamically mapp models id's in django

ysql> select * from exampleapp_author; +------+-------------------------+---------------+ | id    ...READ MORE

Jan 16, 2021 in Python by anonymous

edited Mar 4, 2025 476 views
0 votes
1 answer

How can I set multiple CSS styles in JavaScript?

Hello @kartik, Using Object.assign: Object.assign(yourelement.style,{fontsize:"12px",left:"200px",top:"100px"}); This also gives you ability to ...READ MORE

Oct 8, 2020 in Java-Script by Niroj
• 82,800 points
4,760 views
0 votes
1 answer

What is the difference Between SUM() and SUMX()

Sum function (Sum()) takes the data columns ...READ MORE

Oct 20, 2020 in Power BI by anonymous
• 65,730 points
4,230 views
0 votes
1 answer

What is the ethical issues relating to leaving a corporation in order to work for one of its competitor

Hi, @Minhaj, It is very common for a ...READ MORE

Dec 16, 2020 in Ask us Anything! by Gitika
• 65,730 points
1,767 views
0 votes
1 answer

How to open S3 object as a string with Boto3?

Hi@akhtar, If you want to return a string, you ...READ MORE

Sep 21, 2020 in AWS by MD
• 95,460 points
5,479 views
0 votes
1 answer

How to create a simple S3 bucket on Ceph Rados Gateway using Ansible Playbook?

Hi@MD, Ansible has one module that can create ...READ MORE

Dec 4, 2020 in Ansible by akhtar
• 38,260 points
2,295 views
0 votes
1 answer

Flutter Error: MediaQuery.of() called with a context that does not contain a MediaQuery.

Hi@akhtar, You need a MaterialApp or a WidgetsApp around your widget. They ...READ MORE

Aug 27, 2020 in Others by MD
• 95,460 points
6,553 views
0 votes
1 answer

pytest: error: unrecognized arguments: --html=basic.html

Hi@akhtar, You have to install one module named ...READ MORE

Jun 24, 2020 in Python by MD
• 95,460 points
9,344 views
0 votes
1 answer

Can a Jenkins build access the archived artifacts from itself?

You could probably use one of the "Publish ...READ MORE

Oct 15, 2020 in Jenkins by Lyana
4,436 views
+1 vote
1 answer

How to create a remote Git branch?

Hi@akhtar, The easiest way is to create one ...READ MORE

Dec 22, 2020 in Git & GitHub by MD
• 95,460 points
1,461 views
0 votes
1 answer

Error:mysql_fetch_array() expects parameter 1 to be resource, boolean given

Hello @kartik, Error occurred here was due to ...READ MORE

Sep 16, 2020 in PHP by Niroj
• 82,800 points
5,689 views
0 votes
1 answer

How to choose the value and label from Django ModelChoiceField queryset?

Hello @kartik, In your Person model add: def __unicode__(self): ...READ MORE

Jul 29, 2020 in Python by Niroj
• 82,800 points
7,810 views
0 votes
0 answers

How to find and restore a deleted file in a Git repository?

Hi Team, I have one Git repository. I ...READ MORE

Dec 22, 2020 in Git & GitHub by akhtar
• 38,260 points
1,532 views
0 votes
1 answer

How to launch MySQL docker container using Ansible playbook?

Hi@akhtar, You can use docker_container module in your ...READ MORE

Sep 21, 2020 in Ansible by MD
• 95,460 points
5,495 views
0 votes
1 answer

How to get the home directory in Python?

Hello, You need to use os.path.expanduser. This will ensure it works ...READ MORE

Nov 19, 2020 in Python by Niroj
• 82,800 points
2,925 views
0 votes
1 answer

How to retry a freestyle Jenkins build after a checkout error?

Hi@Rohan, I think you can use the post-build ...READ MORE

Dec 9, 2020 in DevOps & Agile by MD
• 95,460 points
2,066 views
0 votes
1 answer

how easy is yaml to work with in python compared to json?

Hi, First thing YAML and JSON are not ...READ MORE

Dec 16, 2020 in Python by MD
• 95,460 points
1,753 views
+2 votes
6 answers

copy directories in docker container excluding any one directory

One of the way could be copy ...READ MORE

Dec 10, 2018 in Docker by Prateek
38,705 views
0 votes
1 answer

How to trigger the window resize event in JavaScript?

Hello @kartik, Try this: window.dispatchEvent(new Event('resize') ...READ MORE

Aug 25, 2020 in Java-Script by Niroj
• 82,800 points
6,626 views
0 votes
0 answers

File "<ipython-input-30-eae839ba8312>", line 11 d=dist(queryPoint,X[i]) ^ IndentationError: expected an indented block

for i in range(m):     d=dist(queryPoint,X[i]) &nb ...READ MORE

Jan 15, 2021 in Python by anonymous

edited Mar 4, 2025 462 views
+1 vote
1 answer

How to discard unstaged changes in Git?

Hi@akhtar, You can save the unstaged changes in ...READ MORE

Dec 22, 2020 in Git & GitHub by MD
• 95,460 points
1,428 views
0 votes
1 answer

How to find Object ID in PHP?

Hello @kartik, Use spl_object_hash() for that. It returns an unique identifier ...READ MORE

Nov 16, 2020 in PHP by Niroj
• 82,800 points
3,021 views