Category: Web Development
Get base64 String From File URL
While working on the react native app, sometimes we need to get the base64 string from the file(image/video) URL. There are many packages available that convert a URL to base64 but they are not producing expected results. Finally, I have
ECMAScript (ES10)
ECMAScript is the standard for JavaScript and adding new features to JavaScript. It is a subgroup of JavaScript. ECMAScript 10 is also known as ES10. In ES10 here are the new features. Array.Flat(): The flat() function recursively flatten your array
Deploying a React App on Linux based Server
Step 1. Creating a React App Install Create React App with the following command: npm install -g create-react-app Run this command to create a new app called my-reactapp: npx create-react-app my-reactapp Step 2. Reconfigure package.json. Go to the specified directory
How to upload a file on AWS S3 from Cakephp 3.9
First, we need to install aws-sdk for PHP in the CakePHP project. To install it we can run the below command: composer require aws/aws-sdk-php Code to upload a file: Template Code: <?= $this->Form->create($product, [‘enctype’ => ‘multipart/form-data’]) ?> <fieldset> <legend></legend> <?php
ML.NET 1.4 (Machine Learning Framework) Overview
ML.NET is a cross-platform and open-source machine learning framework that consists of CLI (Command-Line Interface) and Model Builder (which is a simple UI tool ) to make it easy to build custom ML models using Automated Machine Learning (AutoML). Using
Rename package name in React-native
In react-native, To create a new application we use the following command: react-native init MyApp This command will create a package name with com.myapp. Sometimes, if your application is created with the wrong package name or bundle id or you
Installing and using Pyinstaller
You can install it through pip using this command: Pip install pyinstaller Usage: pyinstaller path_to_your_script.py PyInstaller reads your Python program, analyzes all the imports it makes, and binds copies of those to the program. The user can launch the integrated
How to customize Page size selector using Devextreme DataGrid
Pagination is the default feature of Devextreme. The pagination divides your lots of records into pages and you can show numbers of records on a single page. Under pagination, Devextreme provides lots of features. As we can see in the
Increase React Native App Performance
React Native apps have numerous benefits like they are fast, cost-efficient, and offer a nearly native look. But, when it is not done properly, it can lead to performance issues. So, while making you react to native applications, developers need