How to find sum of two numbers using C Language

Published on 12-Dec-2021 8:44:14
C program to find sum of two numbers #include <stdio.h> int main() { int a, b, sum; printf("\nEnter two no: "); scanf("%d %d", &a, &b); sum = a + b; printf("Sum : %d", sum); return(0); } Output: Enter two no: 5 6 Sum : 11 ... Read More

How To Send mail from your Gmail account using Python

Published on 22-Nov-2021 21:52:51
Here, we are going to learn how to send a simple basic mail using Python code. Python, being a powerful language don’t need any external library to import and offers a native library to send emails- “SMTP lib”. “smtplib” creates a Simple Mail Transfer Protocol client session object which is used to send emails to any valid email id on the internet. Different websites use different port numbers. In this article, we are using a Gmail a... Read More

Which is default HTML5 skeleton ?

Published on 18-Nov-2021 9:48:31
An HTML5 skeleton could look like this: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>THIS IS SIMPLE HTML5 SKELETON</title> </head> <body> </body> </html> (Note that this is not the most minimal HTML5 document, so many parts are optional.)... Read More

Accept Credit Cards Online with an Merchant Account!

Published on 01-Nov-2021 9:17:20
If you want to accept credit cards online, you will need to set up a credit card merchant account with a reputable firm. There are a lot of merchant account providers out there, however, Codegyan has teamed up with e-onlinedata to make it easy for our customers to obtain merchant accounts and use the Authorize.net gateway. Authorize.net will integrate into the shopping carts that we provide, such as OSCommerce, CubeCart, WHMCS, etc. ... Read More

“My WordPress Blog Got Hacked!” – Prevent it!

Published on 01-Nov-2021 9:01:08
“My WordPress Blog Got Hacked” is something that we as a hosting company hear all the time, which is unfortunate. What’s even more unfortunate is we as the web hosting provider often get blamed for it by our very own customers. I can’t really blame our customers for this either, I guess they just don’t know it can happen — So hopefully, this blog post will help bring some awareness and help prevent their blogs from being hacked. It... Read More

See (stage) your website before switching your DNS

Published on 01-Nov-2021 8:52:32
When customers are looking to switch hosting providers, they usually stage the setup of their web site before completely switching the DNS (domain name servers). We provide you with a temporary URL so that you can see how your site will look before you switch your domain’s DNS. The problem comes when some scripts require you to access the script through a valid domain name. This poses an issue because you haven’t switched the domain’s DNS a... Read More

How can we create recursive functions in Python?

Published on 30-Oct-2021 14:38:44
Recursion is a programming method, in which a function calls itself one or more times in its body. Usually, it is returning the return value of this function call. If a function definition follows recursion, we call this function a recursive function. Also Read : How to get a list of parameter names inside Python function? A recursive function has to terminate to be used in a program. It terminates, if with every recursive call the solution of... Read More

How to get a list of parameter names inside Python function?

Published on 30-Oct-2021 13:40:54
To extract the number and names of the arguments from a function or function[something] to return ("arg1", "arg2"), we use the inspect module. The given code is written as follows using inspect module to find the parameters inside the functions aMethod and foo. Example import inspect def aMethod(arg1, arg2): pass print(inspect.getargspec(aMethod)) def foo(a,b,c=4, *arglist, **keywords): pass print(inspect.getargspec(foo))  Output ... Read More

How To Clean Up Unnecessary Code From WordPress Header Without Plugins

Published on 28-Oct-2021 9:42:13
How To Clean Up Unnecessary Code From WordPress Header Without Plugins How To Remove Weblog Client Link Example: <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.example.com/xmlrpc.php?rsd" /> To remove the EditURI/RSD link from WordPress header, paste the below code into your theme’s function.php. remove_action ('wp_head', 'rsd_link'); How To Remove Windows Live Writer Manifest Link Example: ... Read More