Trending questions in Edureka Community

0 votes
1 answer

object references an unsaved transient instance - save the transient instance before flushing

You should add cascade="all" (if using xml) ...READ MORE

Sep 26, 2018 in Java by Parth
• 4,640 points
35,870 views
0 votes
1 answer

How do I check if a given Python string is a substring of another one?

Try using in like this: >>> x = 'hello' >>> y ...READ MORE

Nov 26, 2020 in Python by Gitika
• 65,730 points
1,641 views
0 votes
1 answer

13)Refer the input and identify the output if the below code is run

Option c)  Run time error - A READ MORE

Nov 25, 2020 in Apache Spark by Gitika
• 65,730 points
1,702 views
0 votes
1 answer

How can I convert the output of PHP's filesize() function to a format with MegaBytes, KiloBytes etc?

Hello @kartik, Here is a sample: <?php // Snippet from ...READ MORE

Sep 15, 2020 in PHP by Niroj
• 82,800 points
4,749 views
0 votes
1 answer

How to initialize a vector in R?

Hi@akhtar, A vector is the simplest type of data structure ...READ MORE

Oct 6, 2020 in Data Analytics by MD
• 95,460 points
3,842 views
0 votes
1 answer

How can I list txt files into the folder?

Hello @Mziko You can refer this READ MORE

Nov 26, 2020 in Python by Niroj
• 82,800 points
1,655 views
+1 vote
1 answer

To create user credential in EC2 instance from remote using Boto3 or Python?

Hi@Lakshminarayanan, You can create a user from your ...READ MORE

Oct 7, 2020 in AWS by MD
• 95,460 points
3,763 views
0 votes
1 answer

Laravel 5.1 date_format validation allow two formats

Hello @kartik, The date_format validator takes only one date format ...READ MORE

Sep 30, 2020 in Laravel by Niroj
• 82,800 points
4,099 views
0 votes
1 answer
0 votes
1 answer

18) OLAP is 'Analytics used with Business intelligence'

Option a) True. If you wish to master ...READ MORE

Dec 3, 2020 in Data Analytics by Gitika
• 65,730 points
1,348 views
0 votes
1 answer

Could not include JAR files

Hey, @Boopathy, Which command do you use to ...READ MORE

Oct 27, 2020 in Java by Gitika
• 65,730 points
2,922 views
0 votes
1 answer

How to stop Jenkins service on Windows system?

Hi@akhtar, You can start your Jenkins service from your ...READ MORE

Oct 25, 2020 in Jenkins by MD
• 95,460 points
3,045 views
0 votes
1 answer

How do I detect whether a Python variable is a function?

Hello @kartik, You can import isfunction from the inspect module. >>> from inspect ...READ MORE

Dec 7, 2020 in Python by Niroj
• 82,800 points
1,144 views
0 votes
1 answer

How to remove an item from a select box?

Hii, Remove an option: $("#selectBox option[value='option1']").remove(); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <select name="selectBox" id="selectBox"> ...READ MORE

Nov 26, 2020 in JQuery by Niroj
• 82,800 points
1,628 views
0 votes
1 answer

Selenium::WebDriver::Error::JavascriptError: waiting for evaluate.js load failed Firefox 23

I had the same problem on Mac ...READ MORE

Dec 4, 2020 in Selenium by Gitika
• 65,730 points
1,269 views
0 votes
1 answer

How can I create a unique random string in laravel?

Hello @kartik, You can use : sha1(time()) Explanation: sha1 is ...READ MORE

Sep 25, 2020 in Laravel by Niroj
• 82,800 points
4,289 views
0 votes
4 answers

Can a fresher get job as AWS Devops Engineer?

Hi, As a fresher if you want to ...READ MORE

Mar 5, 2022 in Career Counselling by Emily
• 140 points
7,250 views
0 votes
1 answer

Jenkins pipeline error in deployment in Kubernetes

Hi@Pratyay, Deployment has no apiVersion v1. If you want ...READ MORE

Jul 28, 2020 in DevOps & Agile by MD
• 95,460 points
6,855 views
0 votes
1 answer

What is the easiest way to remove all packages installed by pip?

I've found this snippet as an alternative ...READ MORE

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

How to create a grant in AWS KMS?

Hi@akhtar, You can add a grant to a customer ...READ MORE

Nov 19, 2020 in AWS by MD
• 95,460 points
1,924 views
0 votes
1 answer

How to attach a load balancer to an Auto Scaling group in AWS?

Hi@akhtar, You can attach one or more Classic Load ...READ MORE

Nov 26, 2020 in AWS by MD
• 95,460 points
1,611 views
0 votes
1 answer

How to delete all the Git stashes in the stack?

Hi@akhtar, If you want to delete all the ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,460 points
1,862 views
0 votes
1 answer

Hi, how does one kill the whatsapp message loop with a code instead of closing whatsapp-web?

Hello @Felix , Use this code: <script> function simulateMouseEvents(element, eventName) ...READ MORE

Oct 20, 2020 in Java-Script by Niroj
• 82,800 points
3,202 views
0 votes
1 answer

error display_errors = On

You can try this one: error_reporting(E_ALL); ini_set('display_err ...READ MORE

Dec 2, 2020 in PHP by Niroj
• 82,800 points
1,341 views
+1 vote
3 answers

"No such file pom.xml" error in Jenkins

Can you please che ck the location ...READ MORE

May 16, 2019 in Jenkins by Samir
24,039 views
0 votes
1 answer
0 votes
1 answer

How to get LoadBalancer IP in Kubernetes using Terraform script?

Hi@akhtar, In your Terraform script, you can output ...READ MORE

Sep 28, 2020 in Terraform by MD
• 95,460 points
4,180 views
0 votes
1 answer

Error: Field 'display_name' doesn't have a default value

Hello @kartik, MySQL is most likely in STRICT ...READ MORE

Nov 13, 2020 in PHP by Niroj
• 82,800 points
2,165 views
+1 vote
2 answers

What is the difference between ansible playbook and roles?

Hi, Roles: Roles containing certain vars_files, tasks, and handlers ...READ MORE

Jan 21, 2020 in Ansible by vivek
• 530 points
23,047 views
0 votes
1 answer

Error:nvm is not compatible with the npm config "prefix" option:

Hello @kartik, After installing nvm using brew, create ~/.nvm directory: $ ...READ MORE

Jul 15, 2020 in Node-js by Niroj
• 82,800 points
7,378 views
0 votes
1 answer

How to validate the sudoers file before changing the file in Ansible?

Hi@akhtar, You can do this using lineinfile module ...READ MORE

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

How to run selenium (Firefox) web driver without a GUI?

Yes, it's possible to run Selenium on ...READ MORE

Nov 27, 2020 in Selenium by Gitika
• 65,730 points
1,542 views
0 votes
1 answer

What is the output of the following code?

rror: expected class or object definition sc.parallelize(Array(1L,("SFO")),(2L,("ORD")),(3L,("DFW")))) ^ one error ...READ MORE

Nov 26, 2020 in Apache Spark by Gitika
• 65,730 points
1,625 views
+1 vote
1 answer

How to Download & Install Selenium WebDriver?

Selenium installation is a 3 step process: Install ...READ MORE

Nov 30, 2020 in Selenium by Gitika
• 65,730 points
1,371 views
0 votes
1 answer

How to create a zip archive of a directory in Python?

Hii, The easiest way is to use shutil.make_archive. It ...READ MORE

Nov 20, 2020 in Python by Niroj
• 82,800 points
1,850 views
0 votes
1 answer

What class is declared in the blow code?

Option D: String class READ MORE

Nov 26, 2020 in Apache Spark by Gitika
• 65,730 points
1,604 views
0 votes
1 answer

Error refreshing dataset with direct query using on-premise gateway connection

What is your data source type? Could ...READ MORE

Nov 19, 2020 in Power BI by anonymous
• 65,730 points
1,882 views
0 votes
1 answer

I am trying to search for attach window activity in my community edition but could not find it. Please help.

In activities panel, type in only "attach" ...READ MORE

Nov 5, 2020 in RPA by Umesh
2,514 views
0 votes
1 answer

What is the difference between an interface and abstract class?

Interfaces An interface is a contract: The person writing ...READ MORE

Nov 30, 2020 in Python by Gitika
• 65,730 points
1,401 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
37,695 views
0 votes
1 answer

How to center a popup window on screen?

Hello @kartik, Use this: function popupwindow(url, title, w, h) ...READ MORE

Sep 3, 2020 in Java-Script by Niroj
• 82,800 points
5,211 views
0 votes
1 answer

How to Verify Tooltip using Selenium WebDriver?

Tooltips were traditionally implemented as a 'title' ...READ MORE

Nov 30, 2020 in Selenium by Gitika
• 65,730 points
1,396 views
0 votes
1 answer

ERROR! The API server (https://galaxy.ansible.com/api/) is not responding, please try again later.

Hi@akhtar, It seems your ansible is connecting to the ...READ MORE

Sep 17, 2020 in Ansible by MD
• 95,460 points
4,591 views
0 votes
1 answer

How to pull docker image to GCP Cloud?

Hi@akhtar, You can use gcloud docker command to ...READ MORE

Nov 10, 2020 in GCP by MD
• 95,460 points
2,258 views
0 votes
1 answer

There are some Error so resolve quickly

Hi@Aditya, It is working fine in my python ...READ MORE

Dec 9, 2020 in Python by MD
• 95,460 points
1,027 views
0 votes
1 answer

How to remove GET-variables with PHP?

Hello @kartik, Try this: preg_replace('/\\?.*/', '', $str) Hope ...READ MORE

Oct 27, 2020 in PHP by Niroj
• 82,800 points
2,872 views
0 votes
1 answer
0 votes
1 answer

Python error "TypeError: string indices must be integers, not str"

Hey @Dipti email_s.append(email_1["email_address"]) This is the list on ...READ MORE

Jul 5, 2019 in Python by Jinu
23,596 views
0 votes
1 answer

How to create a Cluster Security Group in RedShift?

Hi@akhtar, You can create a new Amazon AWS Redshift ...READ MORE

Nov 27, 2020 in AWS by MD
• 95,460 points
1,558 views