Most viewed questions in Edureka Community

0 votes
2 answers

how can we Create instance for generic type in java

private static class SomeContainer<E> { ...READ MORE

Aug 27, 2018 in Java by Sushmita
• 6,920 points
27,315 views
0 votes
1 answer
0 votes
1 answer

ValueError: malformed string when using ast.literal_eval

Hello Kartik, An updated version of the answer ...READ MORE

May 27, 2020 in Python by Niroj
• 82,800 points
27,282 views
0 votes
2 answers

How to select the nth row in a SQL database table?

SELECT * FROM ( SELECT ID, NAME, ROW_NUMBER() ...READ MORE

Apr 23, 2020 in Database by anand
• 140 points
27,282 views
0 votes
1 answer

How to remove files from HDFS system?

Hi@akhtar, You will find rm command in your ...READ MORE

Oct 1, 2020 in Big Data Hadoop by MD
• 95,460 points
27,233 views
0 votes
1 answer

How to use a specific chrome profile in selenium?

User profiling is the term used for ...READ MORE

Dec 24, 2018 in Selenium by Shuvodip
27,203 views
0 votes
1 answer

How to turn gathering facts task off in Ansible?

Hi@akhtar, You can use gather_facts: no keyword in your playbook. ...READ MORE

Aug 10, 2020 in Ansible by MD
• 95,460 points
27,160 views
+1 vote
2 answers

Calculating date/time difference in Java

We can also use java.util.concurrent.TimeUnit class. long diff = d2.getTime() ...READ MORE

Aug 28, 2018 in Java by Sushmita
• 6,920 points
27,154 views
0 votes
1 answer

How to call function of one php file from another php file and pass parameters to it?

Hello @kartik, Include the first file into the ...READ MORE

Aug 27, 2020 in PHP by Niroj
• 82,800 points
27,134 views
0 votes
1 answer

How to check the installed version of Terraform?

Hi@akhtar, To check the version, launch Windows PowerShell ...READ MORE

Sep 29, 2020 in Terraform by MD
• 95,460 points
27,058 views
0 votes
1 answer

Count occurrences in DAX

You can use DAX functions to do ...READ MORE

Mar 9, 2019 in Power BI by Avantika
• 1,520 points
26,969 views
+1 vote
1 answer

How to delete a localStorage item when the browser window/tab is closed?

Hii @kartik, You can make use of the beforeunload event ...READ MORE

Jun 11, 2020 in Java-Script by Niroj
• 82,800 points
26,912 views
+2 votes
1 answer

How to connect to EC2 file directory using SFTP and Filezilla?

To connect to EC2 instance using Filezilla, ...READ MORE

Jul 27, 2018 in Cloud Computing by Gopalan
• 1,360 points
26,864 views
+1 vote
1 answer

Reading a text file through spark data frame

Try this: val df = sc.textFile("HDFS://nameservice1/user/edureka_168049/Structure_IT/samplefile.txt") df.collect() val df = ...READ MORE

Jul 24, 2019 in Apache Spark by Suri
26,733 views
0 votes
1 answer

%matplotlib inline SyntaxError: invalid syntax

If you're using Jupyter notebook, just mention this ...READ MORE

Aug 1, 2019 in Python by Merlin

edited Jun 25, 2020 by MD 26,715 views
0 votes
1 answer

How to locate Git installation folder on a Mac OS X?

By default the git homepage installs into ...READ MORE

Aug 7, 2018 in Git & GitHub by Sophie may
• 10,620 points
26,708 views
0 votes
2 answers

How can I check if an element or window exists using UiPath Studio?

Element Exists help you READ MORE

Jun 24, 2019 in RPA by anonymous
26,648 views
0 votes
1 answer

Typescript: TS7006: Parameter 'xxx' implicitly has an 'any' type

You are using the --noImplicitAny and TypeScript doesn't know ...READ MORE

Jun 10, 2022 in TypeSript by Nina
• 3,060 points
26,641 views
0 votes
1 answer

error: ORA-65096 - invalid common user or role name in oracle

To start with, the oerr utility is ...READ MORE

Feb 16, 2022 in Others by Aditya
• 7,680 points
26,617 views
+2 votes
6 answers

How to add a volume to Docker, but also exclude a sub-folder?

Here is what you can try if ...READ MORE

Nov 21, 2018 in DevOps & Agile by Shubham
• 1,000 points
26,596 views
+1 vote
2 answers

Is it possible to scroll down in a webpage using selenium webdriver programmed on python?

I using next code for facebook for ...READ MORE

May 16, 2019 in Selenium by mslavikas@gmail.com
26,478 views
0 votes
1 answer

How do I get current URL in Selenium Webdriver using Python?

Use current_url element. Example: print browser.current_url READ MORE

Aug 8, 2018 in Selenium by Meci Matt
• 9,460 points
26,429 views
+2 votes
1 answer

How to connect to mysql database from power Bi?

Hi, Follow these steps, to connect to MYSQL ...READ MORE

Mar 22, 2019 in Power BI by Cherukuri
• 33,050 points
26,393 views
0 votes
1 answer

How to update a value in a json file and save it through node.js?

//install ciql-json : npm i ciql-json const ciqlJson ...READ MORE

May 26, 2021 in Node-js by Sirus

edited Mar 5 26,378 views
0 votes
1 answer
+1 vote
4 answers

Installing Nodejs: sh: node: command not found error

You have to first install nodejs and ...READ MORE

Oct 22, 2018 in Blockchain by Omkar
• 69,220 points
26,278 views
0 votes
1 answer

Change the order of multiple legends in ggplot

Hi Radha, You can change the order of ...READ MORE

Jul 24, 2019 in Data Analytics by Cherukuri
• 33,050 points
26,265 views
+2 votes
2 answers

Difference between a replica set and replication controller

Olaaa Jinu! Replica set and replication controller - ...READ MORE

Dec 19, 2019 in Kubernetes by Kalgi
• 52,340 points
26,256 views
0 votes
1 answer

ImportError: cannot import name 'LinearRegression' from 'sklearn'

from sklearn.linear_model import LinearRegression try using this READ MORE

Mar 31, 2023 in Machine Learning by anonymous

edited Mar 5 26,253 views
0 votes
1 answer

How can I ping my default gateway?

Using the following command you can find ...READ MORE

Mar 22, 2019 in Cyber Security & Ethical Hacking by Priyaj
• 58,020 points
26,245 views
0 votes
1 answer

How to connect to Azure windows VM?

You'll use the Connect button in the Azure portal ...READ MORE

Jan 21, 2020 in Azure by Sirajul
• 59,190 points
26,218 views
0 votes
2 answers

How can I address the unchecked cast warnings?

@SuppressWarnings("unchecked") READ MORE

Mar 21, 2019 in Java by anonymous
26,164 views
0 votes
1 answer

How can I only detect click event on pseudo-element?

There is a solution. Have you considered ...READ MORE

Dec 15, 2021 in Java-Script by Wave

edited Mar 5 26,158 views
+2 votes
3 answers

Error while doing kubernetes-init command

The reason that it mentions the port ...READ MORE

Sep 6, 2018 in Kubernetes by Kalgi
• 52,340 points
26,143 views
+1 vote
1 answer

How to change fill color in each facet using ggplot2?

You can map the facetting variable to ...READ MORE

May 8, 2018 in Data Analytics by kappa3010
• 2,090 points
26,115 views
0 votes
2 answers

How to get the text from a website using selenium?

driver.findElement(By.cssSelector("p")).getText() or  IWebElement element = Browser.GetElementByCssSelector("div.loginbox p"); string text = ...READ MORE

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

What is the use of fsimage in hadoop?

The NameNode stores modifications to the file ...READ MORE

Dec 21, 2018 in Big Data Hadoop by Omkar
• 69,220 points
26,068 views
0 votes
1 answer

What does c do in R?

The c function in R programming usually stands ...READ MORE

Jun 1, 2022 in Data Science by Sohail
• 3,040 points

edited Nov 28, 2023 by Soumya 26,056 views
0 votes
1 answer

How do I start a Docker container with a volume?

You can first create the volume and ...READ MORE

Jul 2, 2019 in Docker by Namik
• 1,230 points
26,035 views
0 votes
2 answers

An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials

After checking time and aws configure settings, ...READ MORE

Apr 11, 2020 in AWS by Arun Kumar
25,935 views
0 votes
2 answers

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

Hey,  @Himanshu. It's still most likely gzipped data. ...READ MORE

Jul 27, 2020 in Python by Gitika
• 65,770 points
25,929 views
0 votes
2 answers

Error saying "no endpoints available for service \"kubernetes-dashboard\" while getting the dashboard up

Not able to access dashboard it says:  { ...READ MORE

Jan 10, 2019 in Kubernetes by vishal
25,896 views
0 votes
2 answers

hadoop copy a local file system folder to HDFS

There's a typo in your command: "hadopp". ...READ MORE

Feb 4, 2019 in Big Data Hadoop by Lohith
25,868 views
0 votes
1 answer

How to add a send button inside TextField in Flutter?

Hi@akhtar, You can use decoration inside your TextField. ...READ MORE

Sep 10, 2020 in Others by MD
• 95,460 points
25,855 views
0 votes
1 answer

How to refresh a JTable model after insert delete or update the data

In my opinion, you can notify your ...READ MORE

Oct 11, 2018 in Java by code.reaper12
• 3,500 points
25,838 views
+1 vote
1 answer

EC2 instance has no public DNS

Follow the given steps: Go to console.aws.amazon.com Go To Services ...READ MORE

Jul 31, 2018 in Cloud Computing by Gopalan
• 1,360 points
25,809 views
0 votes
4 answers

Throwing error - org.openqa.selenium.SessionNotCreatedException: session not created exception

Updating the chrome driver and chrome browser ...READ MORE

Apr 12, 2020 in Selenium by Vamsi
25,789 views
0 votes
1 answer

I am getting error: Element should have been “select” but was “input” using Selenium Webdriver Java

You can Select element by the following ...READ MORE

Jun 27, 2018 in Selenium by Samarpit
• 5,910 points
25,767 views
0 votes
1 answer

Python: ImportError: No module named Crypto.Cipher

Seems like the pycrypto package is not ...READ MORE

Jul 31, 2019 in Python by Hari
25,660 views
0 votes
1 answer

error: mysqli_connect(): The server requested authentication method unknown to the client [caching_sha2_password] in...

Hello @kartik, Use this SQL command: ALTER USER 'mysqlUsername'@'localhost' ...READ MORE

Oct 27, 2020 in PHP by Niroj
• 82,800 points
25,656 views