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

329
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
156
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
88
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
104
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
126
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
1300
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
1036
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
2078
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
1493
Views
jQuery text(), html(), and val() Usages

jQuery text(), html(), and val() Usages

In this blog post i will try to explain jQuery text(), html(), and val()  methods, there defination and uses. jQuery text(): From the matched element jQuery text() method get the text contents of the particular element or Sets or returns the text content of selected elements The following example demonstrates how to set content with the jQuery text() $("#btn1").click(function(){    $("#test

Subscribe Us


Follow Us