Best practice to merge arrays in Javascript

Hello Friends 👋, Welcome To Infinitbility! ❤️ In this article, you will learn the Best practice to merge arrays in javascript or merge arrays without duplicate values. Let’s Start today topic Merge arrays in javascript Javascript concat function Javascript provide concat function to merge arrays let’s undertand with Merge two arrays example. let array1 = [1, 2, 3]; let array2 = [2, 3, 4]; let array3 = array1.concat(array2); console.log(array3); /* * Output * [1, 2, 3, 2, 3, 4] */ Javascript Merge without dublicate values Using JavaScript concat we know it will merge same value also but you need only unique values show or merge in third array....

April 21, 2021 · 1 min · Infinitbility

how to format all partition of hdd

Hello Friends, Welcome To Repairbility! HDD LLF Low-Level Format Tool 4.40 & HDSentinel how to Low-Level clean HDD and monitor health of your HDD and storage device warning: you have to replace the HDD when health goes to 70-80 % or when your computer shows a hanging problem WARNING: After running this low-level format tool, the whole disk surface will be erased. Data restoration is impossible after using this utility!...

April 20, 2021 · 1 min · Repairbility

how to remove your computer password

Hello Friends, Welcome To Repairbility! In this article, you will learn remove password from windows os using Lazesoft recovery software. Go Ahead, All the best. If you have forgotten your administrator password of your Windows operating system, or you do not remember the administrator’s password, download and use Lazesoft Recover My Password to gain access to your Windows account. With Lazesoft Recover My Password, you can get out of this situation without formatting and re-installing the Windows operating system (lsrshsetup....

April 19, 2021 · 1 min · Repairbility

how to run react native project in xcode

Hello Friends 👋, Welcome To Infinitbility! ❤️ this article explain run react native project using xcode and provide good practice to use xcode. Steps go to your project/ios and click on project.xcodeworkspace. ( after click project open on xcode like provided image ) select your desired simulator ( mearked on image ) Find product tab in xcode menu. first clean your build folder ( product->clean build folder ) click on run ( product->run ) Thanks For Reading…...

April 18, 2021 · 1 min · Infinitbility

how to add background mode in xcode

Hello Friends 👋, Welcome To Infinitbility! ❤️ when devs on start to use xcode then they find difficult to use xcode because lot of option. In this article, you get guidence to add background mode on your xcode project step by step. For Enable background mode first we have to add + Capability of background mode like on below example image of xcode. Steps First click on your target ( project name )....

April 17, 2021 · 1 min · Infinitbility

how to activate Microsoft Office 2010 Free

Hello Friends, Welcome To Repairbility! how you find your Microsoft Office 2010 expired 1)your msoffice showing red line on the top (product activation failed) 2)when your Microsoft Office start then it show continevas pop (Microsoft Office 2010 Activation Wizard) solution: step 1:if you have installed antivirus then first you have to off the (Antivirus) step 2:step 2: Go to the windows settings-Update&security-WindowsSecurity-Virus&threat protection-(Real-time protection ) then Off the Real-time protection setting...

April 16, 2021 · 1 min · Repairbility

how to activate windows 7 Free

Hello Friends, Welcome To Repairbility! how do you find you have to activate windows 7 1)your computer have showing pop at the starting of the computer 2)Right-click to this pc & go to the properties(windows 7 is not activated) 3)when your computer starts then your screen blackout solution: method 1 step1:if you have installed antivirus then first you have to off the (Antivirus) step2:Click on the start button go to the control panel & click on the category and select small icons-windows defender -tools-options-administrator and untick (use this program)&save...

April 15, 2021 · 1 min · Repairbility

how to activate windows 10 Free

Hello Friends, Welcome To Repairbility! how do you find your Windows 10 activate or not? your computer have showing pop Windows activation continuously Right-click to this pc & go to the properties ( Windows 10 is not activated) Go to the windows setting-Update&Security-Activation(windows is not activated) Solution: step 1: if you have installed antivirus then first you have to off the (Antivirus) step 2: Go to the windows settings-Update&security-WindowsSecurity-Virus&threat protection-(Real-time protection ) then Off the Real-time protection setting...

April 14, 2021 · 1 min · Repairbility

React native application release testing using xcode

Hello Friends 👋, Welcome To Infinitbility! ❤️ This article explains how to test react native ios apps using Xcode. we have to change some configuration for testing in release mode and the below steps explain configuration changes with a screenshot. Steps open xcode menu and click on Product tab. Select Schema -> Edit Schema Select Run tab and change build configuration Debug to Release Select your appropriate simuletter, Clean build follder your project, and Run your application....

April 13, 2021 · 1 min · Infinitbility

how to force Laravel to use https in URL and assets

Hello Friends 👋, Welcome To Infinitbility! ❤️ using the URL() helper is great for creating full HTTP links, I use this for all links, when working locally HTTP is fine but when going Production you want to use https instead. Replace Your app\Providers\AppServiceProvider.php from below code using this code Laravel on production force helper to use https URL. <?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Routing\UrlGenerator; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services....

April 5, 2021 · 1 min · Infinitbility

Expiring Daemon because JVM heap space is exhausted In React Native

Hello Friends 👋, Welcome To Infinitbility! ❤️ You are seeing multiple times ‘Daemon will be stopped at the end of the build after running out of JVM memory’ and ‘Expiring Daemon because JVM heap space is exhausted’ then you need to improve your JVM heap memory. Follow the below steps and crack your error. Solution 1 Step 1: Increase Your Heap Size Add dexOptions in your android/app/build.gradle android { ... dexOptions { javaMaxHeapSize "4g" } ....

April 4, 2021 · 2 min · Infinitbility

gatsby build generating javaScript bundles failed

Hello Friends 👋, Welcome To Infinitbility! ❤️ when you try to build and getting Generating JavaScript bundles failed issue like below log failed Building production JavaScript and CSS bundles ERROR #98123 WEBPACK Generating JavaScript bundles failed Can’t resolve ‘..........\www\public\static\d\2424643845.json’ in ‘project\Navigation’ File Navigation file path. follow below commands to solve you building failed issue First clean your project using below command $ gatsby clean After clean gatsby project run build command...

March 31, 2021 · 1 min · Infinitbility

refused to display 'url' in a frame because it set 'x-frame-options' to 'sameorigin'

Hello Friends 👋, Welcome To Infinitbility! ❤️ The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a <frame>, <iframe>, <embed> or <object>. Sites can use this to avoid click-jacking attacks, by ensuring that their content is not embedded into other sites. The added security is provided only if the user accessing the document is using a browser that supports X-Frame-Options....

March 31, 2021 · 1 min · Infinitbility

How to select and upload video in react native

Hello Friends 👋, Welcome To Infinitbility! ❤️ In this article, we create react native application to select and upload videos from the user’s library. We use react native image picker to select video from user gallery. Table Of Content Create React native application Install react native image picker implement select video from the user library upload a video using fetch complete Example to select & upload video in react native Let’s start with create react native application...

March 27, 2021 · 6 min · Infinitbility

Network request failed in react native fetch

Hello Friends 👋, Welcome To Infinitbility! ❤️ Getting error TypeError Network request failed in android, ios, or with SSL server then read all below cases. In this article, we solve 3 cases of network request failed issue in react-native but your condition does not match with the below mention cases then comment below on the article. Case 1: http url not working in android if you are trying to call HTTP ( unsecured ) url then you have to add usesCleartextTraffic to your AndroidManifest....

March 15, 2021 · 3 min · Infinitbility

how to open any link from react native render Html

Hello Friends 👋, Welcome To Infinitbility! ❤️ React native render HTML provides the feature to render anchor tag or link in your HTML content but you want the link is clickable then you have to some extra stuff. We know when we want to open any link from react native app we use react native linking to redirect the app to the browser and open the URL. So, we have to do the same thing here also for open URLs or you want to click on the link....

February 26, 2021 · 3 min · Infinitbility

React Native image picker launchimagelibrary on second time issue

Hello Friends 👋, Welcome To Infinitbility! ❤️ React Native image picker launchimagelibrary doesn’t open image gallery when click second time in iOS. The below Solution only work for those users who calling launchimagelibrary function from the modal Issue criteria launchimagelibrary working first time only Solution Call launchimagelibrary function after close modal + 1 second delay. delay example delay = (ms) => new Promise((res) => setTimeout(res, ms)); launchimagelibrary example async selectUmage () { await this....

February 22, 2021 · 3 min · Infinitbility

React Native ScrollView

This Article Part of React Native Tutorial Series want to start from scrach follow below link https://infinitbility.com/react-native/table-of-contents Ever have the situation where you sometimes had content that was shorter than the screen size and didn’t require scrolling but occasionally had content taller than the screen size, thus necessitating scroll to allow the user to see all the content. React native scrollview provide feature to create scrolllable content on both direction ( vertically and horizontally )....

February 10, 2021 · 3 min · Infinitbility

Laravel Clear cache, config, view and Routes

Hello Friends 👋, Welcome To Infinitbility! ❤️ Sometimes we faced Caching issues related to cache, config, view, and route. no effect of Hard and soft refresh. below you will learn how to clear cache from Laravel for all modules. Caching configuration helps with combining all of the configuration options for your application into a single file which will be loaded quickly by the framework. Clear Cache Using Laravel’s Cache is a great way to speed up frequently accessed data in your application....

February 6, 2021 · 3 min · Infinitbility

React Native commands you need almost every day

Hello Friends 👋, Welcome To Infinitbility! ❤️ In this article, You already familiar with every command I have shared the article but the purpose article is to get all useful commands in a single article. For Windows users, 🔖 bookmark this article then you do not need to write a command every time. ( windows cmd can’t ❌ save the history of commands ) Let’s start today topic “React Native commands you need almost every day”...

February 4, 2021 · 3 min · Infinitbility