Codxplore.com

Latest news:

Quran ul karim is a free Quran application for android. This application is advertisement free application for android smartphone. Download from https://play.google.com/store/apps/details?id=com.akramhossain.quranulkarim&hl=en

231
Views
Hacker Rank: Day 7 Arrays

Hacker Rank: Day 7 Arrays

Task Given an array,A, of N integers, print A's elements in reverse order as a single line of space-separated numbers. Example A=[1,2,3,4] Print 4 3 2 1. Each integer is separated by one space. Input Format The first line contains an integer,N(the size of our array). The second line contains N space-separated integers that describe array A's elements. Constraints 1
217
Views
Integrate Razorpay in Yii2

Integrate Razorpay in Yii2

Razorpay is the only payments solution in India that allows businesses to accept,  process and disburse payments with its product suite.  It gives you access to all payment modes including credit card, debit card, netbanking,  UPI and popular wallets including JioMoney, Mobikwik, Airtel Money, FreeCharge, Ola Money and PayZapp. Now we will try to integrate Razorpay in Yii2 application. Aft
337
Views
Hacker Rank: Day 6: Let's Review

Hacker Rank: Day 6: Let's Review

Hacker Rank: Day 6: Let's Review Task Given a string,S, of length N that is indexed from 0 to N-1, print its even-indexed and odd-indexed characters as 2 space-separated strings on a single line (see the Sample below for more detail).Note: 0 is considered to be an even index.   Example s = abdecf Print abc def Input Format The first line contains an integer, T(the number of test cases).
496
Views
Nodejs send sms using SMSBOX api

Nodejs send sms using SMSBOX api

In this blog post i will try to describe how to implement SMSBOX sms gateway in Nodejs application. to implement SMSBOX into any Nodejs application you will need a SMSBOX account, you can register for new account at https://www.smsbox.com/ which is not free.Upon registration SMSBOX will provide you username and password to login to SMSBOX control panel. After login to SMSBOX dashboard, Under le
946
Views
Nodejs resize s3 image using Sharp image processing library

Nodejs resize s3 image using Sharp image processing library

Sharp High performance Node.js image processing library.  It is 4x to 5x faster then ImageMagick and GraphicsMagick. We can convert any larger image to any common format such as png, gif, jpeg, webp. Also we can modify image dimension on the go without modifying actual image. Installation Any systems running Node.js v10+ do not need any additional install or runtime dependencies. to install
413
Views

Windows 11 does not meet the minimum requirements Solution

People who have a PC that is about 2 years old or has a CPU older than 8 Gen get this problem while booting Windows 11.  Many people are giving up while going to configure TPM. I am trying to give the easiest solution for them. There has been 100% success so far.  You can also try this solution. Extract the boot file iso of Windows, or if you have booted on a pen drive,  you will get a
607
Views
Hacker Rank: Day 5 Loops

Hacker Rank: Day 5 Loops

Task: Given an integer, n , print its first 10 multiples.  Each multiple n x i (where 1
371
Views
Upload and Delete File into AWS S3 using Node.js

Upload and Delete File into AWS S3 using Node.js

In this blog post i will explain how to upload and delete file in AWS S3 using aws-sdk. To getting started we need to install aws-sdk npm package to our Node.js application. To install aws-sdk in any Node.js project run the following command in your terminal $ npm install aws-sdk After successful installation of aws-sdk package. You need to provide credentials to AWS so that only your account
223
Views
Hacker Rank: Day 4: Class vs. Instance Solution in PHP

Hacker Rank: Day 4: Class vs. Instance Solution in PHP

Task: Write a Person class with an instance variable, age, and a constructor that takes an integer, initialAge, as a parameter. The constructor must assign initialAge to age after confirming the argument passed as initialAge is not negative; if a negative argument is passed as initialAge, the constructor should set age to 0 and print Age is not valid, setting age to 0.. In addition, you must
408
Views
Hacker Rank: Day 3: Intro to Conditional Statements Solution in PHP

Hacker Rank: Day 3: Intro to Conditional Statements Solution in PHP

Task: Given an integer,perform the following conditional actions: If n is odd, print Weird If n is even and in the inclusive range of 2 to 5, print Not Weird If n is even and in the inclusive range of 6 to 20, print Weird If n is even and greater than 20, print Not Weird Input Format: A single line containing a positive integer, n. Constraints: 1 0 && $i =2 && $i =6 && $i 20){   
279
Views
Yii2 ccavenue payment gateway integration.

Yii2 ccavenue payment gateway integration.

In this blog post, i will try to explain how to integrate ccavenue payment gateway in Yii2. ccavenue  is one of India's leading digital payments and e-commerce solutions provider.  They provide extensive suite of web services to extend digital payment solutions. Before getting started with implementation you need to clone or download my github repository https://github.com/akramrana/yii2-ccav
266
Views
Hacker Rank: Day 2: Operators Solution in PHP

Hacker Rank: Day 2: Operators Solution in PHP

Task: Given the meal price (base cost of a meal), tip percent (the percentage of the meal price being added as tip),  and tax percent (the percentage of the meal price being added as tax) for a meal,  find and print the meal's total cost. Round the result to the nearest integer. Example: meal cost = 100 tip percent = 15 tax percent = 8 A tip of 15% * 100 = 15, and the taxes are 8% * 100

Subscribe Us


Follow Us