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鈥檚 Start today topic Merge arrays in javascript Javascript concat function Javascript provide concat function to merge arrays let鈥檚 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鈥檚 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 鈥楧aemon will be stopped at the end of the build after running out of JVM memory鈥 and 鈥楨xpiring 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鈥檛 resolve 鈥..........\www\public\static\d\2424643845.json鈥 in 鈥榩roject\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鈥檚 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鈥檚 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鈥檛 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鈥檛 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鈥檚 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鈥檛 鉂 save the history of commands ) Let鈥檚 start today topic 鈥淩eact Native commands you need almost every day鈥...

February 4, 2021 路 3 min 路 Infinitbility