woman filling job application form in office with boss Python 

Top 10 Interview Questions for Python FASTAPI

Top 10 interview questions for FASTAPI with their answers in one line: 1. What is FASTAPI and how does it differ from other Python web frameworks? – FASTAPI is a modern, high-performance Python web framework that leverages type hints and asynchronous programming for fast development and scalability. 2. Explain the main features and advantages of using FASTAPI. – FASTAPI provides automatic API documentation, validation, serialization, dependency injection, and high performance due to its asynchronous nature. 3. How does FASTAPI handle asynchronous programming and why is it beneficial? – FASTAPI uses…

Read More
Hosting PHP 

How to redirect / rewrite urls using .htaccess file

What is .htaccess? The .htaccess (Hypertext Access) file is an Apache distributed server configuration file. You can use the .htaccess file to set server configurations for a specific directory. .htaccess file is created in order to enable extra features for that subdirectory. Creating .htaccess: we have to create .htaccess in the application root path. But if you want only for a specific subpath then you can create in subpath too. Note: While adding urls, please replace all the example.com domains with your specific domain. Redirecting all URLs: The following line…

Read More
java logo BackEnd Programming Java 

How to Validate Phone Number in Java using Regular Expression

To validate the Phone Number in Java it’s better to use regular expressions. Here I have explained some Regular expressions concepts to validate the phone numbers. First Fore users to enter at least 5 digit number and max 13-14 digits. Explanation \\d = only digit allow {3} = length All phone numbers must in “xx-xxxxxxxxx” format. For example phone number validation in Java source code below   Arjun JSArjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India arjunckm.in

Read More
Amazon(AWS) Email PHP showcase 

How to integrate AWS SES with PHP – PHPMailer

In this article we will look in to, how to implement amazon AWS SES (simple email service) in PHP using PHPMailer library. Register with AWS Step 1: Register with AWS and verify your primary email. If you are a new user then by default AWS will give you limited access as an SES sandbox account. this might be enough for testing. But when you want to deploy the application in production then it will be a bit difficult, so after testing, request for production where you will get much more…

Read More
C#(cSharp) Javascript jQuery PHP 

Shuffle Array and array of object values in javascript, PHP

#1 Javascript: in javascript, there is no array shuffle inbuilt function, so we need to find some custom solution solution1: Solution 2: #2 PHP: In php array shuffle is very easy to implement because, there is a inbuilt function provided “shuffle()“ #3 C# : In c# there is no direct shuffle function, so we need to use random and orderby to get the output #4 Java : Implemented via custom function Arjun JSArjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India arjunckm.in

Read More
ASP.net C#(cSharp) 

How to remove extension .aspx/.html in asp/c# web application

If you are entering some sites particular page and enter a full link with the extension it feels annoying right? Want to remove extension?So to solve the problem in asp/c# Web application, you can follow the below steps to get rid of this. Follow the below steps carefully. #1 Step: in your application root create a file called “Global.asax”. to Create right click on application project and select “Add -> New Item” then you will see something similar to the below image, #2 Step: Then select in left select “C#…

Read More
OpenCart Payment Gateway PHP 

PayKun Payment Gateway Integration in OpenCart

PayKun is the simplest way of collecting online payments. Its really like new startups and building products globally. Follow below Steps to Integrate payKun payment gateway in OpenCart . #1 Step: Generate Access token and API Secret : You can generate Or Regenerate Access token and API Secret from login into your paykun admin panel, Then Go To : Settings -> Security -> API Keys. There you will find the generate button if you have not generated api key before. If you have generated api key before then you will…

Read More
crystal-reports C#(cSharp) Crystal Reports 

How to pass multiple values to single SetParameterValue() in C# Crystal Reports

Passing multiple values to single SetParameterValue() in C# Crystal Reports We faced this problem in Crystal Reports while filtering data based on multiple values for a single parameter in c#example: if you are using listitems and you are selecting multiple values to be passed to crystal report for filtering then you can use like this as below code snippet. First, add using system collections then create one arraylist object and read listitem and add to arrayList as below (this below code is for listitems) and (This below is code is…

Read More
Email PHP 

How to enable domain to send mail through PHP mail() script in CPanel

Yes! we faced this problem many times because previously in CPanel through PHP mail() function you could send mail within a domain. for example, using mail() script you could have sent mail from abc@getcodify.com to xyz@getcodify.com but now if your hosting company has enabled third-party mail delivery through PHP mail() script then you have to follow one simple step to send emails from your PHP mail script to third-party mail services like Gmail, Yahoo or outlook. After creating your email with your domain name you have to register the email which…

Read More