Trending questions in Edureka Community

0 votes
1 answer

How to remove duplicate values from an array in PHP?

Hello @kartik, Use array_unique(): Example: $array = array(1, 2, 2, 3); $array ...READ MORE

Sep 15, 2020 in PHP by Niroj
• 82,800 points
3,112 views
0 votes
1 answer

How to detect a 'touch screen' device using JavaScript?

Hello @kartik, Use this: function is_touch_device() { ...READ MORE

Sep 18, 2020 in Java-Script by Niroj
• 82,800 points
2,979 views
0 votes
1 answer

Error:“Unknown command syncdb” running “python manage.py syncdb”

Hello @kartik, $python manage.py syncdb is deprecated and not ...READ MORE

Aug 5, 2020 in Python by Niroj
• 82,800 points
4,889 views
0 votes
1 answer

Notice: Undefined index: bid in C:\xampp\htdocs\userac\courier_management_system-master\courier_management_system-master\addstaff.php on line 130

Hello @saima , Before you extract values from $_POST ,$_SESSION, ...READ MORE

Sep 14, 2020 in PHP by Niroj
• 82,800 points
3,203 views
0 votes
1 answer

How to execute PHP code from the command line?

Hello @kartik, the php command offers two switches to ...READ MORE

Oct 1, 2020 in PHP by Niroj
• 82,800 points
2,415 views
0 votes
1 answer

How to change the default replication factor in Hadoop?

Hi@akhtar, You can change the default replication factor from the ...READ MORE

Oct 3, 2020 in Big Data Hadoop by MD
• 95,460 points
2,355 views
0 votes
1 answer

Error in library("yarrr") : there is no package called ‘yarrr’.

Hi@akhtar, Installing a package simply means downloading the ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
1,157 views
0 votes
1 answer

How to get innerHTML of DOMNode?

Hello @kartik, Here is a version in a functional ...READ MORE

Oct 22, 2020 in PHP by Niroj
• 82,800 points
1,511 views
0 votes
1 answer

Error:Composer Out of memory in Laravel?

Hey @kartik, This Error  happens in almost all ...READ MORE

Mar 30, 2020 in Laravel by Niroj
• 82,800 points
10,405 views
0 votes
1 answer

Error:Add myBundle to the asseticBundle config symfony2 exception?

Hello @kartik, Try the below steps: edit app/config/config.yml then go to assetic: under ...READ MORE

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

How to handle exceptions with boto3?

Hi@akhtar, You can use botocore.exceptions package in your ...READ MORE

Sep 21, 2020 in AWS by MD
• 95,460 points
2,838 views
0 votes
1 answer

How to use a single URL to access an application on 4 different containers in docker?

You need to decide which service will ...READ MORE

Oct 24, 2020 in Docker by anonymous
1,452 views
0 votes
1 answer

How to execute a MySQL command from a shell script?

Hello @kartik, You need to use the -p flag to ...READ MORE

Aug 20, 2020 in PHP by Niroj
• 82,800 points
4,230 views
+1 vote
1 answer

Web Scraping with Python:-> ModuleNotFoundError: no module named 'selenium'

Hello @shamsher, First try to check what version ...READ MORE

Aug 10, 2020 in Python by Niroj
• 82,800 points
4,666 views
0 votes
1 answer

How to write a HDF file from a DataFrame?

Hi@akhtar, Hierarchical Data Format (HDF) is a set ...READ MORE

Oct 18, 2020 in Python by MD
• 95,460 points
1,699 views
0 votes
1 answer

How to install pip?

'pip' is not recognized as an internal ...READ MORE

Nov 6, 2020 in Python by anonymous
• 65,730 points
845 views
0 votes
1 answer

How to Determine if page is valid in JavaScript - ASP.NET?

Hello @kartik,  Make the call on an input ...READ MORE

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

How to remove a file using the OS module in Python?

Hi@akhtar, In Python, you can use the os. remove() method to remove ...READ MORE

Oct 18, 2020 in Python by MD
• 95,460 points
1,693 views
0 votes
1 answer

How to add a role to an instance profile in AWS?

Hi@akhtar, You can add the specified IAM role ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,460 points
984 views
0 votes
1 answer

In GCP, Does google charge for standby instance in case of Failover?

Just like Amazon, Google does not charge ...READ MORE

Oct 23, 2020 in GCP by Sabir
1,441 views
0 votes
1 answer

How to read a CSV file in R?

Hi@akhtar, You can read your CSV file in ...READ MORE

Oct 29, 2020 in Data Analytics by MD
• 95,460 points
1,194 views
0 votes
1 answer

How to get Real IP from Visitor?

Hello @kartik, Try this php code. <?PHP function getUserIP() { ...READ MORE

Oct 6, 2020 in PHP by Niroj
• 82,800 points
2,184 views
0 votes
1 answer

when I run this, I get NameError: name 'state' is not defined error. How to solve this?

Hi@MUHAMMAD, I tried to run the exact code ...READ MORE

Sep 8, 2020 in Python by MD
• 95,460 points
3,450 views
0 votes
1 answer

ModuleNotFoundError: No module named 'pyttsx3'

Hello @SUHRID, For your query you can refer ...READ MORE

Oct 7, 2020 in Python by Niroj
• 82,800 points
2,138 views
0 votes
2 answers

Code to change owner

Hi, @Wilson, U have to write the require ...READ MORE

Oct 5, 2020 in Blockchain by Rajiv
• 8,870 points
2,396 views
0 votes
1 answer

Select sections of text from each line of files in a Bash shell.

Hi@akhtar, There is no inbuild command available for ...READ MORE

Oct 20, 2020 in Linux Administration by MD
• 95,460 points
1,603 views
+1 vote
0 answers

How to run boto3 in Lambda Function

Hi, I have two boto3(python) script for creating ...READ MORE

Sep 30, 2020 in AWS by Lakshminarayanan
• 1,370 points
2,439 views
0 votes
1 answer

How to attach a managed policy to an IAM user?

Hi@akhtar, You can attach the specified managed policy ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,460 points
976 views
0 votes
1 answer

DAX. Problem with subtotals and grand totals

Create a new measure for the km ...READ MORE

Oct 5, 2020 in Power BI by Gitika
• 65,730 points
2,213 views
0 votes
1 answer

How to save a stream into multiple destinations with Gulp.js?

Hello @kartik, Currently you have to use two ...READ MORE

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

With docker compose, which parameter should I use to run a yaml file ?

Yep. Wrong command. $ docker-compose build And then run ...READ MORE

Oct 27, 2020 in Docker by Justin
1,263 views
0 votes
1 answer

How to attach a managed policy to an IAM group?

Hi@akhtar, You can attach the specified managed policy to ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,460 points
973 views
0 votes
1 answer

How to create the Scatterplot in R?

Hi@akhtar, Scatterplots show many points plotted in the ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
1,141 views
0 votes
1 answer

How to split and modify a string in NodeJS?

Hello @kartik, Use split and map function: var str = "123, 124, 234,252"; var ...READ MORE

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

How to copy a snapshot in AWS from the command line?

Hi@akhtar, The following copy-snapshot example command copies the specified snapshot ...READ MORE

Oct 20, 2020 in AWS by MD
• 95,460 points
1,560 views
0 votes
1 answer

How to make form_rest() not display a field with Symfony2?

Hello @kartik, Another option is to explicitly mark ...READ MORE

Oct 20, 2020 in PHP by Niroj
• 82,800 points
1,567 views
0 votes
1 answer

How to Initializing Multiple PHP Variables Simultaneously?

Hello @kartik, Simply try this: $first = $second = ...READ MORE

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

What do the Jenkins pipelines do?

A pipeline is a collection of jobs ...READ MORE

Oct 29, 2020 in Jenkins by Liam
1,178 views
0 votes
1 answer

How to remove tags from a CloudFront distribution?

Hi@akhtar, The following example removes two tags from ...READ MORE

Nov 2, 2020 in AWS by MD
• 95,460 points
987 views
0 votes
1 answer

How to add a One drive Excel as a Data set in Power BI?

If the one Drive is from your ...READ MORE

Oct 29, 2020 in Power BI by anonymous
• 65,730 points
1,192 views
0 votes
1 answer

Creates a new web distribution in Cloudfront.

Hi@akhtar, You can create a CloudFront distribution to ...READ MORE

Nov 2, 2020 in AWS by MD
• 95,460 points
1,025 views
0 votes
1 answer

How to write a code In Python where input will be 1 then the output will be 2?

You can go through this:  def num(number): ...READ MORE

Oct 7, 2020 in Python by Gitika
• 65,730 points
2,150 views
0 votes
1 answer

How to change the image that the slave uses for a jenkins pipeline?

Hi@akhtar, You can specify the Docker images directly ...READ MORE

Oct 22, 2020 in Jenkins by MD
• 95,460 points
1,474 views
0 votes
0 answers

when I click the right button in my slider it moves right, but after once moving right its neither moves right nor left

Views.py File def index(request): allProds ...READ MORE

Oct 25, 2020 in HTML by Dhruvil
• 120 points
1,408 views
0 votes
1 answer

How to attach a volume to an instance in AWS?

Hi@akhtar, You can attach an EBS volume to a ...READ MORE

Nov 5, 2020 in AWS by MD
• 95,460 points
864 views
0 votes
1 answer

Multiple rows to columns in hive

Hi, You need to create your own customize ...READ MORE

Sep 4, 2020 in Big Data Hadoop by MD
• 95,460 points
3,540 views
+1 vote
1 answer

How to add an user to an IAM group?

Hi@akhtar, You can add the specified user to the ...READ MORE

Nov 3, 2020 in AWS by MD
• 95,460 points
916 views
0 votes
1 answer

How to find the first field from a file in Bash Shell?

Hi@akhtar, You can extract text from a file. ...READ MORE

Oct 20, 2020 in Linux Administration by MD
• 95,460 points
1,580 views
0 votes
1 answer

How to create a pie chart in R?

Hi@akhtar, In R the pie chart is created ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
1,148 views
0 votes
1 answer

Found input variables with inconsistent numbers of samples:

Hi@sagar, You have converted your Dataframe into an ...READ MORE

Jul 13, 2020 in Machine Learning by MD
• 95,460 points
5,849 views