PHP Magic Login – Password-less login system

Magic Login is pretty useful if you want to skip using passwords for your SaaS or any tools. All you need is just their email address and you can magically create a login link for them. This is secure since the Token is generated on your server and sent to them via email. In this …

Read more

How to load image from URL in React Native

Creating a New React Native Project Once you have installed React Native on your system, React Native project can be created in one single line. Open the terminal or command prompt and run the following command to create React Native Project Example: This will take a while to complete. Once it’s done. Open that directory …

Read more

Setting up Cloudflare Workers URL Parameters

Cloudflare workers are really awesome when you want to secure your API Endpoint. But most of the code available online can only process single URL Parameter. But this will be bottleneck when you want to use more than one parameter. Here is the code for using dual parameter. You can easily extend this code to …

Read more

Fix fsevents doesn’t install on linux

While working on React Native Project, I faced some strange error that a particular package called fsevents can’t be installed on Linux. Here is the Screenshot of that. For a while, I’m confused and what to do. I planned to ignore the package and I thought it may solve the issue. Then run. Viola !! …

Read more

Required Dependencies to run Puppeteer in Ubuntu

When I was trying to use Puppeteer in my Ubuntu VPS, It gave some stranger error mentioning some dependencies are missing. But I’m sure that I have installed the Puppeteer globally. If you also facing the same error, you can install the dependencies by following the steps below. Update the apt-get repository Then run the …

Read more

Enable emmet in React VSCode Project

Emmet is a tool that helps you to write programs faster and easier. The good thing is it’s a built in feature in VS Code. But when you’re working with React, by default the Emmet isn’t enabled. We have to enable it manually. We can easily create a new folder inside the project called .vscode and inside …

Read more

Install Yarn packages globally

With npm, we can easily install the package globally by passing -g flag with administrative rights. But when I tried with yarn global add it showed me command not found. After digging around. I found I haven’t specified yarn path in my .bashrc file. If you’re using different shell like zsh or something, the file name will change. I …

Read more

How to Redirect on Sign In with Next Auth

When working on a Next.js application, you may want to redirect the user to a different page after they sign in. The documentation is not clear on how to do this, so I will try to explain it here. This is really helpful if you have Custom Sign In Page. This is how the Next-Auth …

Read more

Prevent Users from Taking Screenshot in React Native

Android provides excellent functionality to block the users from taking a screenshot of the Application. Because to Protect the Content of App such as Bank Details or Important information. This can be Implemented in React Native with a few lines of code. Let’s get started. Creating a React Native Project Open the Terminal or CMD …

Read more