Trending questions in Edureka Community

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,800 points
• 8,290 views
0 votes
1 answer

How to prevent my site page to be loaded via 3rd party site frame of iFrame?

Hello @kartik, You cannot check it from the ...READ MORE

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

Sqoop practice in Edureka VM

Hi, It is the same for all the ...READ MORE

Nov 16, 2020 in Big Data Hadoop by MD
• 95,460 points
• 1,474 views
0 votes
1 answer

How do I save value in my own session variable in Magento?

Hello @kartik, Let's say you want to save ...READ MORE

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

Checksum verification in Hadoop.

Hi@akhtar, Hadoop filesystem has Command to check the checksum ...READ MORE

Oct 15, 2020 in Big Data Hadoop by MD
• 95,460 points
• 2,846 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
• 5,946 views
0 votes
1 answer

what does this line fout.write("</{}>\n".format(opentags.pop())) do?

It closes one tag actually, opentags is ...READ MORE

Nov 10, 2020 in Python by Gitika
• 65,730 points
• 1,723 views
0 votes
1 answer

ytmp3.cc Search Bar Removal

Hi,@ John, If your Windows device got affected ...READ MORE

Oct 15, 2020 in Others by Gitika
• 65,730 points
• 2,848 views
0 votes
1 answer

How can I use Sockets.io on the client side and communicate with a PHP based application on the server?

Hello @kartik, For 'long-lived connection' , you can ...READ MORE

Aug 24, 2020 in PHP by Niroj
• 82,800 points
• 5,076 views
0 votes
1 answer

How can I get PHP to produce a backtrace upon errors?

Hello @kartik, My script for installing an error ...READ MORE

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

What is the inverse operation of np.log() and np.diff()?

Hello @kartik, The reverse will involve taking the ...READ MORE

Jun 16, 2020 in Python by Niroj
• 82,800 points
• 8,089 views
0 votes
1 answer

Is it necessary to create kubernetes cluster using minicube? Or how it happens in real time?

Minikube is a tool that lets you ...READ MORE

Oct 23, 2020 in Kubernetes by Hana

edited Oct 6, 2021 by Sarfaraz • 2,480 views
0 votes
1 answer

How to set the subcription in the Azure account?

Hi@akhtar, You can set your required subscription to ...READ MORE

Nov 10, 2020 in Azure by MD
• 95,460 points
• 1,702 views
0 votes
1 answer

How to get a list of registered route paths in Laravel?

Hello, Route::getRoutes() returns a RouteCollection. On each element, you can ...READ MORE

Nov 11, 2020 in Laravel by Niroj
• 82,800 points
• 1,655 views
0 votes
1 answer

How to monitor Oracle RDS instance in AWS?

You could probably use Cloudwatch itself for ...READ MORE

Nov 2, 2020 in AWS by Nilesh
• 2,050 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
• 4,485 views
0 votes
1 answer

How to delete a security group using Boto3 module?

Hi@akhtar, If you attempt to delete a security ...READ MORE

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

How to properly indent PHP/HTML mixed code?

The PHP and the HTML should each ...READ MORE

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

Is it possible to restrict SQL query result visibility by column data using RLS?

RLS is on row level, you can ...READ MORE

Nov 12, 2020 in Power BI by Gitika
• 65,730 points
• 1,605 views
0 votes
1 answer

How to submit form without page reloading?

Hello @kartik, If you put an Iframe in ...READ MORE

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

How do I list all files of a directory?

Hii, Try this: import os os.listdir("somedirectory") Thank you!! ...READ MORE

Nov 18, 2020 in Python by Niroj
• 82,800 points
• 1,339 views
0 votes
1 answer

How to save MySQL query output to excel or .txt file?

Hello @kartik, You can write following codes to ...READ MORE

Aug 20, 2020 in PHP by Niroj
• 82,800 points
• 5,228 views
0 votes
1 answer

Create a new named configuration in GCP Cloud.

Hi@akhtar, You can create a new named configuration in ...READ MORE

Nov 9, 2020 in GCP by MD
• 95,460 points
• 1,724 views
0 votes
1 answer

How to switch a user per task or set of tasks?

Hi@akhtar, Ansible has a concept of privilege escalation. ...READ MORE

Sep 17, 2020 in Ansible by MD
• 95,460 points
• 4,014 views
0 votes
1 answer

How to create a password for an IAM user?

Hi@akhtar, You can create a password for the specified ...READ MORE

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

Auto scaling with pre EMITABLE instances in google cloud

Hi@Jameshowardat, If you are using spot instances, then ...READ MORE

Nov 9, 2020 in GCP by MD
• 95,460 points
• 1,759 views
0 votes
1 answer

How do you create optional arguments in php?

Hello @kartik, Use an equals (=) sign in ...READ MORE

Sep 17, 2020 in PHP by Niroj
• 82,800 points
• 4,005 views
+1 vote
1 answer

How to make external HTTP requests with Node.js ?

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

Oct 12, 2020 in Node-js by Niroj
• 82,800 points
• 2,921 views
0 votes
1 answer

How to create a managed container registry in Azure?

Hi@akhtar, To run a container, you need an ...READ MORE

Nov 13, 2020 in Azure by MD
• 95,460 points
• 1,543 views
0 votes
1 answer

How to capture Packets from Specific Interface in Linux?

Hi@akhtar, You can use tcpdump command in your ...READ MORE

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

How to create a customer managed CMK in AWS KMS?

Hi@akhtar, You can create a unique customer-managed customer master key (CMK) ...READ MORE

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

Parse and restructure key:value pair of JSON Object to Python Object

@Khushboo, Can you link to a correctly formatted ...READ MORE

Oct 1, 2020 in Python by Gitika
• 65,730 points
• 3,409 views
0 votes
1 answer

How to generate a string token using four of this items random?

One approach just generates random integers up ...READ MORE

Nov 16, 2020 in Python by Gitika
• 65,730 points
• 1,444 views
0 votes
1 answer

Create a key pair in AWS using Boto3.

Hi@akhtar, You need to create a 2048-bit RSA ...READ MORE

Oct 8, 2020 in AWS by MD
• 95,460 points
• 3,090 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
• 3,052 views
0 votes
1 answer

How can I get the classname from a static call in an extended PHP class?

Hello @kartik, __CLASS__ always returns the name of the ...READ MORE

Oct 27, 2020 in PHP by Niroj
• 82,800 points
• 2,276 views
0 votes
0 answers

when going to 'amiunique.org/fp', my user agent is 'unique' but identical to my normal browser user agent.

when selenium chromedriver accesses 'amiunique.org/fp' , this is ...READ MORE

Nov 8, 2020 in Selenium by Samuel
• 120 points
• 1,806 views
0 votes
1 answer

How to access environment variable values?

Hello @kartik, To check if the key exists ...READ MORE

Nov 18, 2020 in Python by Niroj
• 82,800 points
• 1,313 views
0 votes
1 answer

What activities used for selectors?

Many activities are there! Example click activity When u ...READ MORE

Nov 2, 2020 in RPA by Jyoti
• 2,009 views
0 votes
1 answer

Error:Missing argument 2 for App\Http\Controllers\EventsController::remindHelper()

Hello @kartik, When you define this route: Route::get('events/{id}/remind', [ 'as' ...READ MORE

Nov 12, 2020 in Laravel by Niroj
• 82,800 points
• 1,583 views
0 votes
1 answer

Create a task set in a service in ECS Cluster.

Hi@akhtar, You can create a task set in ...READ MORE

Nov 8, 2020 in AWS by MD
• 95,460 points
• 1,760 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,730 points
• 3,292 views
0 votes
1 answer

How to resize a VM in Azure?

Hi@MD, You can resize your VM at any ...READ MORE

Nov 11, 2020 in Azure by akhtar
• 38,260 points
• 1,626 views
0 votes
1 answer

How do I pass a variable by reference?

Hello, Just wrap it in a list: def Change(self, ...READ MORE

Nov 18, 2020 in Python by Niroj
• 82,800 points
• 1,307 views
0 votes
1 answer

error: branch 'origin/master' not found.

Hi@akhtar, It seems your branch is not synced ...READ MORE

Sep 4, 2020 in Git & GitHub by MD
• 95,460 points
• 4,548 views
0 votes
1 answer

How to change the default Django date template format?

Hello @kartik, Within your template, you can use ...READ MORE

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

Set volume mount user group and file permissions in kubernetes

There's a setting in Pod Security Context ...READ MORE

Jan 16, 2019 in Kubernetes by ajs3033
• 7,300 points
• 30,333 views
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
• 4,063 views
0 votes
1 answer

How to take user input python3?

Use a while True: loop, to take input forever, ...READ MORE

Nov 4, 2020 in Python by anonymous
• 65,730 points
• 1,928 views