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,840 points
2,796 views
0 votes
1 answer

How to create a VPC in AWS using Boto3?

Hi@akhtar, Amazon Web Services enables you to create ...READ MORE

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

How can we access PHP variables in JavaScript or jQuery rather than <?php echo $variable ?>

Hello @kartik, You can also use json_encode for ...READ MORE

Apr 29, 2020 in Java-Script by Niroj
• 82,840 points

edited Oct 7, 2021 by Sarfaraz 8,802 views
0 votes
1 answer

Ranger kms create key failed

Hi@shllpa, I have checked your file. All seems ...READ MORE

Oct 6, 2020 in Big Data Hadoop by MD
• 95,460 points
1,909 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,840 points
1,891 views
0 votes
1 answer

Docker: port 80 bind error.

Try to add an inbound rule for ...READ MORE

Oct 20, 2020 in Docker by Lokesh
1,278 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,840 points
1,283 views
+1 vote
4 answers

Is there a way to change the Jenkins build number while building a job?

If you have access to the script ...READ MORE

May 7, 2019 in Jenkins by Atul
30,100 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
589 views
0 votes
1 answer

How to get the CloudFront distribution?

Hi@akhtar, To get the distribution, you need to ...READ MORE

Nov 2, 2020 in AWS by MD
• 95,460 points
725 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
746 views
0 votes
1 answer

Why doesn't the button display below the message?

You can make use of the given ...READ MORE

Nov 4, 2020 in Python by Gitika
• 65,770 points
651 views
0 votes
1 answer

How to get current PHP page name?

Hello @kartik, You can use basename() and $_SERVER['PHP_SELF'] to get current page ...READ MORE

Aug 28, 2020 in PHP by Niroj
• 82,840 points
3,596 views
+1 vote
1 answer

ModuleNotFoundError: No module named 'mnist'

Hi@akhtar, This mnist package comes with keras module ...READ MORE

May 9, 2020 in Machine Learning by MD
• 95,460 points
8,319 views
0 votes
1 answer

How to remove a rule from a security group from AWS CLI?

Hi@akhtar, You can remove the ingress rule from ...READ MORE

Jul 7, 2020 in AWS by MD
• 95,460 points
5,812 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
672 views
0 votes
1 answer

Error:setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Hello @kartik, Try installing these packages. sudo apt-get install ...READ MORE

Jun 5, 2020 in Python by Niroj
• 82,840 points
7,190 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,770 points
1,907 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
630 views
0 votes
1 answer

How to mount a dvd in a folder using Ansible playbook?

Hi@akhtar, Ansible has the mount module that is idempotent ...READ MORE

Sep 16, 2020 in Ansible by MD
• 95,460 points
2,731 views
0 votes
2 answers

How to copy a file from one directory to another using PHP?

Simply, $source = 'Source_file_location' ...READ MORE

Oct 12, 2020 in PHP by anonymous
• 140 points
1,806 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,770 points
522 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
660 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,840 points
1,515 views
0 votes
1 answer

How to get alert of hard disk space in ec2 instance?

Check this out! https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html Also, you can create your ...READ MORE

Sep 24, 2020 in AWS by Ashish
2,404 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
655 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,104 views
0 votes
1 answer

List all the existing buckets for the AWS account using Boto3.

Hi@akhtar, You need to create a client using ...READ MORE

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

How to configure where to redirect after a log out in Django?

Hello @kartik, You don't need to overwrite or ...READ MORE

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

What if we have 2 columns with possible na rows?

Hi, You can do this in multiple ways. ...READ MORE

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

How to merge two branch in GitHub using jenkins?

Hi@akhtar, To implement this task you can follow ...READ MORE

May 7, 2020 in Jenkins by MD
• 95,460 points
8,440 views
0 votes
1 answer

what is vm options ? I installed Pycharm on my pc but it shows no vm options file found . What should i do please help me to fix it

Hi, @Mushfiqkhantrial, It is important to run pycharm.sh from the bin folder. The VM ...READ MORE

Oct 4, 2020 in Python by Gitika
• 65,770 points
1,969 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,355 views
0 votes
1 answer

File not found exception while processing the spark job in yarn cluster mode with multinode hadoop cluster

Hi@Ganendra, I am not sure what's the issue, ...READ MORE

Jul 30, 2020 in Apache Spark by MD
• 95,460 points
4,804 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,159 views
0 votes
1 answer

How to do SSH in EC2 instance using Ansible Playbook?

Hi@akhtar, To configure your inventory dynamically you need ...READ MORE

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

How to add properties while installing GOTO?

You can follow a few steps: click advanced ...READ MORE

Nov 6, 2020 in Python by Gitika
• 65,770 points
495 views
0 votes
1 answer

How to parse JSON and access results?

Hello, Try: $result = curl_exec($cURL); $result = json_decode($result,true); Now you can ...READ MORE

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

How to check if the URL contains a given string?

Hello @kartik, You would use indexOf like this: if(window.location.href.indexOf("franky") != -1){....} Also ...READ MORE

Jun 11, 2020 in Java-Script by Niroj
• 82,840 points
6,883 views
0 votes
1 answer

How to Change the selected value of a drop-down list with jQuery?

Hello @kartik, With hidden field you need to ...READ MORE

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

How to remove yum repository using Ansible playbook?

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

Aug 4, 2020 in Ansible by MD
• 95,460 points
4,548 views
0 votes
2 answers

How to log SQL statements in Spring Boot?

HI.. try using this in your properties file: logging.level.org. ...READ MORE

Sep 25, 2020 in Java by SRI

edited Sep 25, 2020 by Sirajul 5,007 views
0 votes
1 answer

How to create user and password in Windows EC2 instance using boto3 Script?

Hi, I don't think AWS will allow you ...READ MORE

Sep 23, 2020 in DevOps on Cloud by MD
• 95,460 points
2,398 views
0 votes
1 answer

How to create an interface composed of other interfaces?

Hello, You are looking for the extends keyword: Interface IFoo extends ...READ MORE

Nov 5, 2020 in PHP by Niroj
• 82,840 points
537 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
797 views
0 votes
1 answer

How to add a new column to a Dataframe in R?

Hi@akhtar, You can add new columns to a ...READ MORE

Oct 30, 2020 in Data Analytics by MD
• 95,460 points
783 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,840 points
3,855 views
0 votes
3 answers

How to draw a tic tac toe board in python?

def printTable():             for i in range(1,10):                     print(" ",end=' ')                     if(i%3==0 ...READ MORE

Oct 11, 2020 in Python by Sumit Nagpal
11,751 views
0 votes
1 answer

IndentationError: expected an indented block

Hi, @Baker, Putting in extra space or leaving ...READ MORE

Oct 19, 2020 in Python by Gitika
• 65,770 points
1,310 views
0 votes
1 answer

What is selenium in python?

It is known as Web automations, It is ...READ MORE

Nov 4, 2020 in Python by Gitika
• 65,770 points
587 views