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

269
Views
Install Smart App Banner Yii2 without jQuery

Install Smart App Banner Yii2 without jQuery

Smart app banner is an important element which is used to motivate user to download mobile application instead of using the website. The usage of a smart banner is only to promote app.To implement smart banner in Yii2 web application we need to do the following Download the javascript library from github using this https://github.com/kudago/smart-app-banner  as .zip format Put smart app bann
286
Views
Hacker Rank: Day 1: Data Types Solution in PHP

Hacker Rank: Day 1: Data Types Solution in PHP

Task: Declare 3 variables: one of type int, one of type double, and one of type String.  Read 3 lines of input from stdin (according to the sequence given in the Input Format section below) and initialize your 3 variables.  Use the + operator to perform the following operations:  Print the sum of i plus your int variable on a new line. Print the sum of d plus your double variable to a
170
Views
Hacker Rank: Day 0: Hello, World Solution in PHP

Hacker Rank: Day 0: Hello, World Solution in PHP

Task: To complete this challenge, you must save a line of input from stdin to a variable, print Hello, World. on a single line, and finally print the value of your variable on a second line. Input Format: A single line of text denoting inputString (the variable whose contents must be printed). Output Format: Print Hello, World. on the first line, and the contents of inputString on the second
215
Views
Installing Git and GitHub Desktop

Installing Git and GitHub Desktop

GitHub desktop provides us an efficient way of working to run the gitHub work flow as graphical user interface mode,  GitHub desktop is available both windows and macOS platform.  For Windows: We can install github desktop in windows platform using browser also using windows power-shell  To install via browser you need to follow this steps Go to desktop.github.com Download for windows
190
Views
Installing Homebrew for macOS

Installing Homebrew for macOS

Homebrew is a command-line interface based package manager for macOS,  This can be used for automated software installation, removal and upgradation.  To install Homebrew on macOS, you will need to run a command shell. Launch Spotlight Search Type in terminal Execute the following command in the Terminal to install the Homebrew package manager: $ /usr/bin/ruby -e "$(curl -fsSL
172
Views
How to creating a new Angular Service

How to creating a new Angular Service

Angular Service any code that touches outside of the boundaries of a component should exist in a service this includes inter-component communication,  unless there's a parent-child relationship and API calls of any kind and any code that cache or retrieve  data from a cookie or the browser's localStorage. This is a critical architectural pattern that keeps your  application maintainable in
176
Views
Install Chocolatey for Windows

Install Chocolatey for Windows

Windows chocolatey is a command-line interface based package manager.  Chocolatey can be used for automated software installation, remove and upgrade.  To install Chocolatey on Windows, you will need to run an elevated command shell: Launch the Start menu Start typing in PowerShell You should see Windows PowerShell Desktop App as a search result Right-click on Windows PowerShell and sele
191
Views
Install Node.js on Ubuntu 20.04

Install Node.js on Ubuntu 20.04

Initiation  Node.js is an open-source, cross-platform, back-end JavaScript runtime environment  that runs on the V8 engine and executes javaScript code outside a web browser Prerequisites for installing Node.js If you are using Ubuntu 20.04. Before we start, we should have an user account with sudo privileges set up on the system. We will learn how to do this by following these steps for Ub
1523
Views
Typeorm findAndCount relational table filter

Typeorm findAndCount relational table filter

To filter relational table in TypeORM using findAndCount there is a workaround. To filtering based on relation fields for findAndCount. We need to use ObjectLiteral-style where using this style conditions are works perfectly. Assume that we have Three entities – products,attributeSet and woodType. products belongs to one attributeSet and one woodType,  attributeSet and woodType has many prod
1228
Views
Generates models for TypeORM from existing databases

Generates models for TypeORM from existing databases

Typeorm is an ORM Which run in NodeJS, PhoneGap, Cordova, Ionic, Browser, NativeScript, Expo, React Native and Electron platforms.  We can use TypeORM with TypeScript and JavaScript (ES5, ES6, ES7, ES8). TypeORM is highly influenced by other ORMs such as Entity Framework, Hibernate, Doctrine. To generate model using TypeORM from existing database we need to install typeorm-model-generator. To
2201
Views
Pagination in react by react-paginate

Pagination in react by react-paginate

react-paginate is a ReactJS component to implement pagination to react js project. By installing this component and writing only a little bit of CSS code we can accomplish pagination. Installation: to Install react-paginate with npm please run the following command in terminal$ npm install react-paginate --save Usages: To use this feature we need to import it in top of our class as likeimport
2377
Views
Usages of PHP date, strtotime and mktime functions

Usages of PHP date, strtotime and mktime functions

To customize date and time PHP provides us some important functions such date, strtotime and mktime. In this post i will demonstrate some usages for these functions. Example 1: Get year start and end date for the current year we can use $yearStart = date("Y-m-d", strtotime('this year January 1st')); $yearEnd = date("Y-m-d", strtotime("this year December 31st")); Example 2: Get month start a

Subscribe Us


Follow Us