Trending questions in Edureka Community

0 votes
1 answer

How to get the current date/time in Java?

It depends on what form of date/time ...READ MORE

Dec 30, 2020 in Java by Gitika
• 65,730 points
2,052 views
0 votes
1 answer

How to set upload_max_filesize in .htaccess?

Hello @kartik, php_value upload_max_filesize 30M is correct. You will ...READ MORE

Oct 27, 2020 in JQuery by Niroj
• 82,800 points
4,825 views
0 votes
1 answer

Git pull a certain branch from GitHub.

fsdfsdfsdfsdf sdfsdfsd sdfsd fsdfsd sdfsdfsdfsdfsdf READ MORE

Jan 24, 2021 in Git & GitHub by anonymous

edited Mar 5, 2025 1,350 views
0 votes
1 answer

An error occurred (BadRequestException) when calling the UpdateRestApi operation: Invalid patch path /tags/keytest.

Hi@akhtar, You need to use the tag-resource method instead ...READ MORE

Dec 8, 2020 in AWS by MD
• 95,460 points
2,994 views
0 votes
2 answers

Java string to date conversion

We can convert String to Date in java using parse() method ...READ MORE

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

Call a function from another file?

There isn't any need to add file.py while importing. ...READ MORE

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

Is it possible to break a long line to multiple lines in Python?

Example of implicit line continuation: a = some_function( ...READ MORE

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

How to check if row is soft-deleted in Eloquent?

Hello, Try this: if ($thing->trashed()) { ... } READ MORE

Nov 23, 2020 in PHP by Niroj
• 82,800 points
3,644 views
0 votes
1 answer

How node.js require all files in a folder?

Hello @kartik, When require is given the path ...READ MORE

Nov 26, 2020 in Node-js by Niroj
• 82,800 points
3,504 views
+1 vote
1 answer

Difference between an Edge Location and Availability Zone.

Both the Edge Locations (EL) and Availability ...READ MORE

Aug 6, 2019 in AWS by Yogi
24,124 views
0 votes
2 answers

This kind of error throwing AttributeError: __enter__

I had recently found its solution and ...READ MORE

Jul 31, 2020 in Python by lokesh
9,131 views
0 votes
1 answer

How to get the http headers from current request in PHP?

Hello, Try this code: if (!function_exists('getallheaders')) { ...READ MORE

Nov 23, 2020 in PHP by Niroj
• 82,800 points
3,638 views
0 votes
1 answer

How to change the project name in Flutter App?

Hi@akhtar, If you want to change the name ...READ MORE

Sep 3, 2020 in Others by MD
• 95,460 points
7,139 views
0 votes
2 answers

How to create a floating button in Flutter?

Scaffold widget provides floatingActionButton property. You can ...READ MORE

Nov 9, 2020 in Others by Vijay
• 200 points
5,931 views
0 votes
1 answer

How to set time zone in codeigniter?

Hii, Add this line inside the main index.php of codeigniter ...READ MORE

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

Slicer with conditions - if value selected,select related values

I assume that both tables are unrelated ...READ MORE

Nov 12, 2020 in Power BI by Gitika
• 65,730 points
4,100 views
+1 vote
1 answer

How can I capture network traffic of a specific page using Selenium?

Hey, to capture network network traffic of ...READ MORE

Jul 19, 2019 in Selenium by Abha
• 28,140 points
24,888 views
0 votes
1 answer

How to create a GUID/UUID in Python?

Hello @kartiK, If you need to pass UUID ...READ MORE

Dec 8, 2020 in Python by Niroj
• 82,800 points
2,969 views
+4 votes
2 answers

Where do i get AWS Data Analytics dumps or exam questions for practice?

Recently I passed my AWS Data Analytics ...READ MORE

Jul 31, 2020 in Career Counselling by Janardhan
• 460 points
1 flag 8,218 views
0 votes
1 answer

Name node is in safe mode. Not able to leave

In order to forcefully let the namenode ...READ MORE

Dec 7, 2020 in Big Data Hadoop by Gitika
• 65,730 points
3,000 views
0 votes
1 answer

How can I get the browser language in node.js?

Hello @kartik, You can use req.headers["accept-language"] to get the language/locale ...READ MORE

Oct 16, 2020 in Node-js by Niroj
• 82,800 points
5,250 views
0 votes
1 answer

How do I find out my MySQL URL, host, port and username?

Hello @kartik, If you're already logged into the ...READ MORE

Aug 20, 2020 in PHP by Niroj
• 82,800 points
7,715 views
+1 vote
1 answer
0 votes
1 answer

How to check an IP address is within a range of two IPs in PHP?

Hello @kartik, With ip2long() it's easy to convert your addresses ...READ MORE

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

How can I get ID of the last updated row in MySQL?

Hello @kartik, Suppose, item_id is an integer identity column in items table ...READ MORE

Apr 9, 2020 in PHP by Niroj
• 82,800 points
13,452 views
0 votes
1 answer

swift for windows? xcode on windows? ?

Hi, @Aminegac, If you’re a little more technically ...READ MORE

Dec 4, 2020 in Others by Nikita
3,122 views
0 votes
1 answer

How to edit files in the AWS S3 bucket from CLI?

Hi@akhtar, According to my knowledge,  you can't edit ...READ MORE

Jun 8, 2020 in AWS by MD
• 95,460 points
10,858 views
0 votes
1 answer

ImportError: cannot import name 'render_to_response' from 'django.shortcuts'

Hello @kartik, The render_to_response shortcut was deprecated in Django 2.0, and ...READ MORE

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

How to open a URL in a new Tab using JavaScript or jQuery?

Hello @kartik, Use window.open(): var win = window.open('http://edureka.co/', '_blank'); if (win) ...READ MORE

Aug 25, 2020 in Java-Script by Niroj
• 82,800 points
7,477 views
0 votes
1 answer

How to get path from the request in nodejs?

Hello @kartik, Try this out: var http = require('http'); var ...READ MORE

Oct 14, 2020 in Node-js by Niroj
• 82,800 points
5,310 views
0 votes
1 answer

4)Spark streaming converts streaming data into DStreams. which one of the given statements about DStreams is True?

Hi@ritu, Spark DStream (Discretized Stream) is the basic ...READ MORE

Nov 23, 2020 in Apache Spark by MD
• 95,460 points
3,599 views
0 votes
1 answer

Error:Expected view to be called with a URL keyword argument named “pk”

Hello @kartik, View functions are called with the ...READ MORE

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

value error found with inconsistent samples

Hi, As you can see that you have ...READ MORE

Dec 28, 2020 in Machine Learning by MD
• 95,460 points
2,130 views
0 votes
1 answer

Error: Cannot find module 'html'

Hello @kartik, You can have jade include a ...READ MORE

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

How can I loop through all the properties of object using php?

Hello @kartik, If this is just for debugging ...READ MORE

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

dpkg error: dpkg status database is locked by another process

The following worked for me: remove lock: sudo rm ...READ MORE

Aug 31, 2021 in Linux Administration by Shefali

edited Mar 5, 2025 7,261 views
0 votes
0 answers

How to write df to excel without attribute error, and how to add 2 header columns (1 header, 1 units)

Hi, I am very new to Python ...READ MORE

Jun 3, 2020 in Python by Edureka
• 120 points

edited Jun 5, 2020 by Gitika 11,090 views
0 votes
1 answer

How to run process with realtime output in PHP?

Hello @kartik, This worked for me: $cmd = "ping ...READ MORE

Oct 20, 2020 in PHP by Niroj
• 82,800 points
5,034 views
+2 votes
1 answer

Error: laravel.log could not be opened?

Hello, Never use 777 for directories on your ...READ MORE

Apr 2, 2020 in Laravel by Niroj
• 82,800 points
13,628 views
0 votes
1 answer

DAX Calculation the Max for a Group.

You can try this out:  Desired Output=CALCULATE(MAX([Check]), ...READ MORE

Sep 25, 2020 in Power BI by Gitika
• 65,730 points

edited Sep 25, 2020 by Gitika 6,132 views
0 votes
1 answer

How can I access Laravel .env variables in blade?

Hii @kartik, Try to implement this: @if (env('APP_ENV')!='Production') Enviroment Test @endif Hope ...READ MORE

Nov 10, 2020 in PHP by Niroj
• 82,800 points
4,103 views
0 votes
0 answers

What allows spark to periodically persist data about an application such that it can recover from failures? [closed]

What allows spark to periodically persist data ...READ MORE

Nov 26, 2020 in Apache Spark by ritu
• 960 points

closed Nov 26, 2020 by MD 3,486 views
+1 vote
2 answers

Splitting a Tmap output into several tables based on the value of a column

you can use "filter " in map ...READ MORE

Dec 2, 2020 in Talend by aminegac
• 570 points
3,702 views
0 votes
1 answer

ModuleNotFoundError: No module named 'cv2'

Check if it's installed properly, It will work ...READ MORE

Oct 12, 2020 in Python by Gitika
• 65,730 points
5,350 views
0 votes
1 answer

How to append text to an existing file in Java?

Java 7+ If you just need to do ...READ MORE

Dec 30, 2020 in Java by Gitika
• 65,730 points

edited Jul 6, 2023 by Khan Sarfaraz 1,933 views
0 votes
3 answers

difference between git remote and git clone

HI.... GIT REMOTE add just creates an entry in ...READ MORE

Jul 11, 2020 in Git & GitHub by anonymous
26,413 views
0 votes
1 answer

PHP Error: Function name must be a string

Hello @kartik, It should be $_COOKIE['name'], not $_COOKIE('name') $_COOKIE is an array, ...READ MORE

Nov 4, 2020 in PHP by Niroj
• 82,800 points
4,362 views
0 votes
1 answer

ERROR: Could not build wheels for line-profiler which use PEP 517 and cannot be installed directly.

Hi@akhtar, If you are trying to install with pip ...READ MORE

Nov 5, 2020 in Python by MD
• 95,460 points
4,305 views
0 votes
1 answer

How to get available ips in the VNet in Azure?

Hi@akhtar, The available ips depend on the network ...READ MORE

Nov 12, 2020 in Azure by MD
• 95,460 points
4,014 views
0 votes
1 answer

How to chunk results from a custom query in Laravel

Hello @kartik, Try something like this: <?php $max = 100; $total ...READ MORE

Dec 7, 2020 in Laravel by Niroj
• 82,800 points
2,953 views