Trending questions in Edureka Community

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,121 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,652 views
0 votes
1 answer

How to print an exception in Python?

Hello @kartik, For Python 2.6 and later and ...READ MORE

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

How to create an Auto Scaling group using a launch configuration in AWS?

Hi@akhtar, You can create an Auto Scaling group with ...READ MORE

Nov 26, 2020 in AWS by MD
• 95,460 points
1,655 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,710 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,852 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,757 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,658 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,769 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,931 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,276 views
0 votes
1 answer
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,056 views
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,353 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,281 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,149 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,635 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,057 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,936 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,294 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,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,213 views
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,198 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,267 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,870 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,618 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,347 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,180 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,874 views
0 votes
1 answer
+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,055 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,720 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,637 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,274 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,381 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,547 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,611 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,889 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,524 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,404 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,405 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,218 views
0 votes
1 answer

How to Fix OpenStack’s Keystone Authentication Error – HTTP 500?

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

Mar 26, 2020 in OpenStack by MD
• 95,460 points
12,172 views
0 votes
1 answer

How do I escape a single quote in SQL Server?

Hello @kartik, Single quotes are escaped by doubling ...READ MORE

Jul 21, 2020 in PHP by Niroj
• 82,800 points
7,112 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,266 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,597 views
0 votes
1 answer
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,876 views
0 votes
1 answer

How to see the report of Hadoop Cluster from command line?

Hi@akhtar, You can see the report of Hadoop Cluster ...READ MORE

Sep 25, 2020 in Big Data Hadoop by MD
• 95,460 points
4,279 views