Trending questions in Edureka Community

0 votes
1 answer

How to get the home directory from a PHP CLI script?

Hello @kartik, You can fetch the value of ...READ MORE

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

How to get the server IP with Laravel?

Hello @kartik, You can use request object: request()->server('SERVER_ADDR'); Or you ...READ MORE

Nov 2, 2020 in Laravel by Niroj
• 82,840 points
4,502 views
0 votes
1 answer

What is a serialVersionUID and why should we use it?

Hello @kartik, SerialVersionUID is a unique identifier for each ...READ MORE

May 28, 2020 in Java by Niroj
• 82,840 points
11,305 views
0 votes
1 answer

SELENIUM ERROR !!HELP!!

Hi, @There, A possibility is that the element ...READ MORE

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

How to detect when a user leaves a web page using javascript?

Hello @kartik, Try the onbeforeunload event: It is fired just ...READ MORE

Oct 9, 2020 in Java-Script by Niroj
• 82,840 points
5,507 views
0 votes
1 answer

Sikuli file upload, even after writing the correct script getting error. Any solution?

Hey, @Faha, This error message... JavaScript error: resource://gre/modules/XULStore.jsm, line ...READ MORE

Dec 15, 2020 in Selenium by Gitika
• 65,770 points
2,630 views
0 votes
1 answer

Error:AttributeError: 'NoneType' object has no attribute 'extend'

Hello @kartik, You can use itertools.chain(): import itertools list2d = [[1,2,3], ...READ MORE

Nov 18, 2020 in Python by Niroj
• 82,840 points
3,761 views
+1 vote
2 answers

How to become a cyber security engineer?

Security engineers typically start their career paths ...READ MORE

Dec 14, 2021 in Cyber Security & Ethical Hacking by Error
• 420 points
1,589 views
0 votes
1 answer

how to create snapshots in power BI?

Snapshots enable faster loading of specific properties. Follow ...READ MORE

Oct 29, 2019 in Power BI by Cherukuri
• 33,030 points
20,434 views
0 votes
1 answer

How to terminate a python script?

This can be done by importing the ...READ MORE

Aug 9, 2019 in Python by Arvind
• 3,050 points
23,935 views
0 votes
1 answer

How do I find the a referring sites URL in node?

Hii, In express 4.x: req.get('Referrer') This will also check both spellings of ...READ MORE

Nov 27, 2020 in Python by Niroj
• 82,840 points
3,371 views
0 votes
1 answer

How can I pass parameter from Route to Filter in laravel?

Hii, Filters can be passed parameters, like the ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,840 points
3,064 views
0 votes
1 answer

Error: Can't get session in controller constructor

Hello @kartik, You can't do it by default ...READ MORE

Dec 2, 2020 in Laravel by Niroj
• 82,840 points
3,147 views
0 votes
1 answer

Error:Symfony\Component\Debug\Exception\FatalErrorException] syntax error, unexpected ',', expecting variable (T_VARIABLE)

Hii, Try this command: php -S localhost:8000 -t public Then ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,840 points
3,054 views
0 votes
1 answer
+2 votes
1 answer

can we start and stop EC2 instance using Terraform?

Hi@Lakshminarayanan, You can use command inside your local-exec ...READ MORE

Aug 17, 2020 in Terraform by MD
• 95,460 points
7,733 views
0 votes
1 answer

How to pass arguments to an included file?

Hello @kartik, Include has the scope of the ...READ MORE

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

Error: No module named psycopg2.extensions

Hello @kartik, The first thing to do is ...READ MORE

Aug 17, 2020 in Python by Niroj
• 82,840 points
7,771 views
0 votes
1 answer

Is it possible to rename a project in GCP?

Yes, it is possible to rename your ...READ MORE

Sep 27, 2019 in GCP by Sirajul
• 59,230 points
21,783 views
0 votes
1 answer

How to post data in PHP using file_get_contents?

Hello @kartik, Sending an HTTP POST request using file_get_contents is ...READ MORE

Aug 24, 2020 in PHP by Niroj
• 82,840 points
7,428 views
0 votes
2 answers

Chaincode Installation failed, Hyperledger Fabric

Hi, @Bhuwan, There must be an error in ...READ MORE

Oct 5, 2020 in Blockchain by Gitika
• 65,770 points
5,583 views
0 votes
2 answers

How to access session variables from any class in ASP.NET?

Accessing session Variable in a class file ...READ MORE

Sep 3, 2020 in Angular by Okugbe
• 280 points
7,854 views
0 votes
1 answer

Couldn't retrieve the data for this visual.

The error you mentioned here is usually ...READ MORE

Nov 2, 2020 in Power BI by Gitika
• 65,770 points
4,389 views
0 votes
1 answer

How to automatic run gulp tasks via npm?

Hello @kartik, Here is the code: var ...READ MORE

Nov 30, 2020 in Node-js by Niroj
• 82,840 points
3,214 views
0 votes
1 answer

How to create dynamic href in react render function?

Hello @kartik, Use string concatenation: href={'/posts/' + post.id} The JSX ...READ MORE

May 18, 2020 in Java-Script by Niroj
• 82,840 points
11,638 views
0 votes
0 answers

ValueError: not enough values to unpack (expected 2, got 0)

I want to load the NSL_KDD data ...READ MORE

May 9, 2020 in Python by arezoo
• 220 points

edited May 13, 2020 by Gitika 12,071 views
0 votes
1 answer

AttributeError: 'ec2.ServiceResource' object has no attribute 'send_command'

Hi@Lakshminarayanan, The send_command attribute is not available in ...READ MORE

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

does java support operator overloading?

Java doesn't supports operator overloading because it's just a ...READ MORE

Jun 18, 2018 in Java by Akrati
• 960 points
41,883 views
0 votes
1 answer

How to specify sudo password for Ansible?

Hi@akhtar, You can pass variable on the command ...READ MORE

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

Sum two columns together in Tableau

Hi Anitha,  You can find sum of two ...READ MORE

Mar 18, 2019 in Tableau by Cherukuri
• 33,030 points
30,063 views
+1 vote
0 answers

Give full access permission to another user in GitHub

How do I give full access permission ...READ MORE

May 15, 2019 in Git & GitHub by Umer
27,564 views
+1 vote
1 answer

How to validate a field on update in DRF?

Hello @kartik, You can definitely do this using ...READ MORE

Jul 2, 2020 in Python by Niroj
• 82,840 points
9,666 views
0 votes
1 answer

ValueError: must have exactly one of create/read/write/append mode

You can open a file for simultaneous ...READ MORE

Nov 15, 2020 in Python by Gitika
• 65,770 points
3,764 views
0 votes
1 answer

An argument named "versioning" is not expected here. Did you mean to define a block of type "versioning"?

Hi@akhtar, The error is telling that you need ...READ MORE

Dec 1, 2020 in Terraform by MD
• 95,460 points
3,073 views
0 votes
1 answer

How to install pip with Python 3?

If you're running Python 2.7.9+ or Python ...READ MORE

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

What does ECU units, CPU core and memory mean in EC2 instance?

Hi@MD, ECU means Amazon EC2 compute unit. Amazon ...READ MORE

Dec 16, 2020 in AWS by akhtar
• 38,260 points
2,411 views
0 votes
1 answer

How do I include partials from a blade layout in laravel?

Hello @kartik, You need to give the full ...READ MORE

Nov 2, 2020 in Laravel by Niroj
• 82,840 points
4,320 views
0 votes
0 answers

What are the pros and cons of parquet format compared to other formats?

Hi Team, I am new to Hadoop I ...READ MORE

Dec 21, 2020 in Big Data Hadoop by akhtar
• 38,260 points
2,240 views
0 votes
1 answer

How to delete services from Docker swarm cluster?

Hi@akhtar, You can delete your services with the ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,460 points
2,054 views
+4 votes
7 answers

How to set the pipeline name and description for a Jenkinsfile?

You can rename pipeline jobs in jenkins ...READ MORE

Oct 11, 2018 in Jenkins by Hannah
• 18,520 points
36,879 views
0 votes
2 answers

Reading a plain text file in Java

Read a plain text file: Java Code: import java.io.BufferedReader; import ...READ MORE

Dec 29, 2020 in Java by Nikita
1,813 views
0 votes
1 answer

Import Error: No module named numpy?

Hello, I had numpy installed on the same ...READ MORE

Apr 14, 2020 in Python by Niroj
• 82,840 points
13,020 views
0 votes
1 answer

How to uninstall aws-cli?

Hi@akhtar, I also faced a similar type of ...READ MORE

Dec 8, 2020 in AWS by MD
• 95,460 points
2,726 views
0 votes
1 answer

"msg": "Failed to connect to the host via ssh: ssh: connect to host 192.168.0.179 port 22: Connection timed out",

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

Jul 28, 2020 in Ansible by MD
• 95,460 points
8,478 views
0 votes
1 answer

Capturing browser logs with Selenium WebDriver using Java?

I assume it is something in the ...READ MORE

Dec 3, 2020 in Selenium by Gitika
• 65,770 points
2,928 views
0 votes
1 answer

java.net.UnknownHostException: updates.jenkins.io

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

May 28, 2020 in Jenkins by MD
• 95,460 points
11,096 views
+1 vote
3 answers

While using pyttsx 3 , I am having the following ERROR, i have installed pypiwin32

Try this: pip uninstall pyttsx3 Then: pip install pyttsx3==2.71 READ MORE

Aug 12, 2020 in Python by Eghosa
8,361 views
0 votes
1 answer

How to attach Elastic IP in EC2 instance using Terraform code?

Hi@akhtar, You can use aws_eip resource in your ...READ MORE

Jul 22, 2020 in Terraform by MD
• 95,460 points
8,721 views
0 votes
1 answer

Error:The Response content must be a string or object implementing __toString(), "boolean" given.

Hello @kartik, Your response must return some sort ...READ MORE

Sep 24, 2020 in Laravel by Niroj
• 82,840 points
5,940 views
0 votes
1 answer

How can I access my Laravel app from another PC?

Hello @kartik, Use: sudo php artisan serve --host 192.168.1.101 ...READ MORE

Oct 23, 2020 in Laravel by Niroj
• 82,840 points
4,689 views