Trending questions in Edureka Community

0 votes
1 answer

How to check if connected to database in Laravel?

Hello @kartik, You can use if(DB::connection()->getDatabaseName()) { echo ...READ MORE

Sep 28, 2020 in Laravel by Niroj
• 82,800 points
• 9,683 views
0 votes
1 answer

AttributeError: type object 'numpy.ndarray' has no attribute '__array_function__'

Hi@akhtar, I think numpy version is not compatible ...READ MORE

Apr 13, 2020 in Python by MD
• 95,460 points
• 16,912 views
0 votes
1 answer

How to auto call function in php for every other function call?

Hii, Your best bet is the magic method __call, ...READ MORE

Oct 30, 2020 in PHP by Niroj
• 82,800 points
• 8,273 views
+2 votes
1 answer

I want the console.log output from Chrome. I'm working with selenium on Python

So this is how you do it ...READ MORE

May 3, 2018 in Selenium by sniffy_god
• 780 points
• 47,535 views
0 votes
2 answers

How to get all options of a dropdown using python selenium webdriver?

WebElement element = driver.findElement(By.id("")); Select select = new ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
• 19,280 views
0 votes
1 answer

if/else in a list comprehension

You can totally do that. It's just ...READ MORE

Dec 23, 2020 in Python by Gitika
• 65,730 points
• 5,907 views
0 votes
1 answer

How do I make a PHP form that submits to self?

Hello @kartik, The proper way would be to ...READ MORE

Nov 6, 2020 in PHP by Niroj
• 82,800 points
• 7,946 views
0 votes
1 answer

When i give WebDriver driver=new ChromeDriver();

If you use ChromeDriver driver = new ChromeDriver(); the ChromeDriver instance ...READ MORE

Oct 23, 2020 in Selenium by Karan
• 19,550 points
• 8,557 views
0 votes
1 answer

How to set value for particular cell in pandas DataFrame using index?

Why df.xs('C')['x']=10 does not work: df.xs('C') by default, returns a new ...READ MORE

Jan 5, 2021 in Python by Gitika
• 65,730 points
• 5,332 views
0 votes
1 answer

Distinct count filtered by condition using Power BI Dax

Try this, it should work: DistinctCountActiveMonths = CALCULATE( ...READ MORE

Oct 5, 2018 in Power BI by Kalgi
• 52,340 points
• 40,882 views
0 votes
1 answer

How to skip tests in PHPunit?

Hello, The fastest and easiest way to skip ...READ MORE

Nov 10, 2020 in PHP by Niroj
• 82,800 points
• 7,745 views
0 votes
1 answer

How to get the subdomain in a subdomain-route in laravel?

Hello, $subdomain is injected in the actual Route callback, it is ...READ MORE

Nov 2, 2020 in Laravel by Niroj
• 82,800 points
• 8,108 views
0 votes
1 answer

How do you Encrypt and Decrypt a PHP String?

Hello @kartik, Use openssl_encrypt and openssl_decrypt You can do something like: $string_to_encrypt="Test"; $password="password"; $encrypted_string=openssl_encrypt($string_to_encrypt,"AES-128-ECB",$password); $decrypted_string=openssl_decrypt($encrypted_string,"AES-128-ECB",$password); Hope it ...READ MORE

Sep 14, 2020 in PHP by Niroj
• 82,800 points
• 10,217 views
0 votes
2 answers

5)Using which one of the given choices will you create an RDD with specific partitioning?

Hi, @Ritu, option b for you, as Hash Partitioning ...READ MORE

Nov 23, 2020 in Apache Spark by Gitika
• 65,730 points
• 7,129 views
0 votes
0 answers

How to configure the the functional ID after logging into user ID in jenkins ?

Hi Team, Could you please help me on ...READ MORE

Apr 21, 2021 in Others by anonymous

edited Mar 4, 2025 • 759 views
0 votes
0 answers
0 votes
1 answer

How to catch exception in node during JSON.parse?

Hello, JSON.parse runs synchronous and does not know anything ...READ MORE

Nov 27, 2020 in Node-js by Niroj
• 82,800 points
• 6,981 views
0 votes
1 answer

Capture and Save Packets in a File in Linux.

Hi@akhtar, You can use tcpdump command to save ...READ MORE

Oct 4, 2020 in Linux Administration by MD
• 95,460 points
• 9,310 views
0 votes
1 answer

How can I serve a single HTML page from the Laravel public folder without having to use the .html extension?

Hello @kartik, You may rename the test folder ...READ MORE

Nov 12, 2020 in Laravel by Niroj
• 82,800 points
• 7,624 views
0 votes
1 answer
+3 votes
1 answer

How to get the attribute value of a web element in Selenium (using Java or Python)?

Hello @Umesh, if you want to get ...READ MORE

May 16, 2019 in Selenium by David
• 31,111 views
0 votes
1 answer

17) Identifying customers likely to churn is part of __________

d) Churn Management READ MORE

Jun 8, 2021 in Data Analytics by anonymous

edited Mar 5, 2025 • 2,644 views
0 votes
3 answers

How do I use raw_input in Python 3?

raw_input() was renamed to input() in Python 3. Another example ...READ MORE

Jan 4, 2021 in Python by Carlos
• 5,230 views
0 votes
1 answer

Error:Relationship method must return an object of type Illuminate\Database\Eloquent\Relations\Relation

Hello @kartik, When you try to access a ...READ MORE

Dec 1, 2020 in Laravel by Niroj
• 82,800 points
• 6,787 views
0 votes
1 answer

How to disable asp.net button after click to prevent double clicking?

Hello @kartik, On the front end, add these ...READ MORE

Sep 9, 2020 in Java-Script by Niroj
• 82,800 points
• 10,363 views
0 votes
0 answers

While building code pipeline encountered error

When I create cloudformation stack for codepipeline, ...READ MORE

Apr 21, 2021 in AWS by anonymous

edited Mar 4, 2025 • 715 views
0 votes
0 answers

If condition for a popup in UiPath

Hello everybody! In a process of mine I ...READ MORE

Nov 3, 2020 in RPA by RandomDude
• 260 points
• 8,018 views
0 votes
1 answer

How to deny direct access to a folder and file by htaccess?

Hello @kartik, Just move the includes folder out of the ...READ MORE

Aug 24, 2020 in Web Development by Niroj
• 82,800 points
• 11,074 views
0 votes
1 answer

How to change the Puppet Server memory allocation?

Hi@akhtar, By default, Puppet Server is configured to ...READ MORE

Dec 31, 2020 in Puppet by MD
• 95,460 points
• 5,468 views
0 votes
0 answers

Extract table formate data from mail body

I want to extract table formate data ...READ MORE

Apr 12, 2021 in RPA by Vishal

edited Mar 4, 2025 • 1,125 views
0 votes
1 answer

How to disable swap in remote system using Ansible?

Hi@akhtar, You can use the mount module in ...READ MORE

Sep 16, 2020 in Ansible by MD
• 95,460 points
• 10,023 views
0 votes
1 answer

How to get the hostname of the manager node in the Docker swarm?

Hi@akhtar, You can find the manager hostname using ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,460 points
• 5,740 views
0 votes
0 answers

Dax calculation

Area  22msqrt    ---- Result %R         0.10 ------ 10% Vs ...READ MORE

Apr 22, 2021 in Power BI by vnk
• 390 points

edited Mar 4, 2025 • 666 views
0 votes
1 answer

How to use GROUP_CONCAT in laravel?

Hello @kartik, You can use relations as query ...READ MORE

Sep 25, 2020 in Laravel by Niroj
• 82,800 points
• 9,624 views
0 votes
1 answer

How to get Alternative to file_get_contents?

Hii, Use cURL. This function is an alternative to file_get_contents. function ...READ MORE

Nov 9, 2020 in PHP by Niroj
• 82,800 points
• 7,717 views
0 votes
1 answer

Error:Missing file extension "ts" for "./lib/env" import/extensions

Hello @kartik, Add the following code to rules: "rules": { ...READ MORE

Oct 15, 2020 in Node-js by Niroj
• 82,800 points
• 8,763 views
0 votes
1 answer

How to delete Stash from the stash list?

Hi@akhtar, Before you drop the Stash, you can ...READ MORE

Nov 20, 2020 in Git & GitHub by MD
• 95,460 points
• 7,213 views
0 votes
0 answers

DAX To Split column into multiple rows

Dear all I have a table in Power ...READ MORE

Apr 21, 2021 in Power BI by Marcelo
• 120 points

edited Mar 4, 2025 • 678 views
0 votes
1 answer

How to Creat a folder when I run file_put_contents()?

Hello @kartik, file_put_contents() does not create the directory structure. ...READ MORE

Oct 29, 2020 in PHP by Niroj
• 82,800 points
• 8,146 views
0 votes
1 answer

How to synchronise Angular http get?

Hello @kartik,  the only way around this: wrap ...READ MORE

Sep 8, 2020 in Angular by Niroj
• 82,800 points
• 10,335 views
0 votes
1 answer

How to include a sub-view in Blade templates in Laravel?

Hello @kartik, You can use the blade template ...READ MORE

Mar 31, 2020 in Laravel by Niroj
• 82,800 points
• 17,286 views
0 votes
1 answer

How to get comments by given user in Facebook Graph API? Can we get list of comments made by given user?

Hii kartik, You can get the list of ...READ MORE

May 7, 2020 in Java by Niroj
• 82,800 points
• 15,677 views
+1 vote
1 answer

Error: Unable to access jarfile agent.jar

Hello@akhtar, Whenever we try to connect windows system ...READ MORE

May 29, 2020 in Jenkins by MD
• 95,460 points
• 14,704 views
0 votes
1 answer

How to get the file count in amazon bucket linux cli

I tried in my project: aws s3 ls ...READ MORE

Aug 27, 2021 in DevOps & Agile by Shubhankar Sarkar

edited Mar 5, 2025 • 5,602 views
0 votes
1 answer

How to allow duplicate keys in php array?

Hello @kartik, You could have a single key ...READ MORE

Nov 19, 2020 in PHP by Niroj
• 82,800 points
• 7,203 views
0 votes
1 answer

How can I explode and trim whitespace?

Hello @kartik, You can do the following using array_map: $new_arr ...READ MORE

Oct 1, 2020 in PHP by Niroj
• 82,800 points
• 9,315 views
0 votes
0 answers

Python error ValueError size needs to be int width int height while using pygame Surface

I'm trying to make a game on ...READ MORE

Apr 19, 2021 in Python by anonymous

edited Mar 4, 2025 • 734 views
0 votes
1 answer

Access Denied user is missing the Job/Create permission in Jenkins.

Hi@akhtar, The user doesn't have sufficient permission to ...READ MORE

Dec 7, 2020 in Jenkins by MD
• 95,460 points
• 6,441 views
0 votes
0 answers

Can you please help me to solve this error below

When I execute the command : "minikube ...READ MORE

Apr 9, 2021 in Kubernetes by Soham

edited Mar 4, 2025 • 1,156 views
0 votes
0 answers

The program will input a string then display all the letters used in the input with their corresponding number of occurrences in the input.

Sample: Input a String: This is FUN. ...READ MORE

Apr 18, 2021 in Python by anonymous

edited Mar 4, 2025 • 746 views