Today in this article we will directly jump into the steps to import Google places autocomplete API and how we can integrate it with react native framework.

If someone doesn’t want to follow along and skip to the video directly, please click on the video below:-

Step1:-

Install the dependency

npm install react-native-google-places-autocomplete --save

Step 2:-

Go to your Google developer account and create a new project by clicking on the New Project button.


What is Virtualenv ?

Virtualenv is a tool that lets you create an isolated Python environment for your project. It creates am environment that has its own installation directories, that doesn’t share dependencies with other virtualenv environments. You can even configure what version of Python you want to use for each individual environment. It’s very much recommended to use virtualenv when dealing with Python applications.

Installation

To install virtualenv run:

pip install virtualenv

Usage

If you have a project in a directory called my-project you can set up virtualenv for that project by running:

cd my-project/
virtualenv venv

If you want your virtualenv to also inherit…


Introduction

In this tutorial you will learn how to deploy a Flask application to Heroku. The app can be as simple as a “Hello World” app to a social media monitoring platform.

Building a REST API with Flask

I usually create a local virtual environment before moving forward with python web application development, that’s because I don’t want to cause discrepancies in old packages with new packages that I am going to install.

You can do so by running two commands:-

python -m venv venv/

This will create a folder named venv where you ran the above command. …


Problem Statement

Implementation

Explanation / Algorithm

  1. On line 5, we handle the corner case if size of points array is zero then return 0.
  2. On line 9, we create a new array mPoints which stores all points.
  3. On line 14, sort all the points based on x co-ordinates, why do we want to do that:- because we want to merge overlapping intervals, so after merging all the overlapping intervals, each left over points would require one arrow and that will be the minimum number of arrows we can use to burst the balloons. Let’s understand the approach using an example:-

(i) We have three points…


Who doesn’t like earning extra money apart from getting salary from 9 to 5 job. Well, don’t know your case but I do and that’s the reason I trade in options. But if you have little bit knowledge about options, then you know how risky options can get, 1 option trade could either get you a Lamborghini or get you on streets. But don’t worry, the strategy that we are gonna look into here is less risky and if you get the maths right, then you can earn a constant flow of cash every week.

The strategy that I use…


Have you ever come across a situation where you write code, ask it to perform something and when you look at the output, you realize this is not what you wanted and why is it behaving in a different manner.

Something similar happened with me, let me state the problem statement first.

Disclaimer:- This article assumes you have prior knowledge of Node.js and Google Firestore.

Basics on How to Read Data from Google Firestore

Problem Statement

I have a list of categories of my shopping list with me and I have all the orders present inside my google firestore database. …


It’s easy to think of passive income as money earned while sitting on a beach sipping mojitos, but there is lots of work involved. So let’s not waste any more time and get onto this journey.

I personally feel everyone should start planning early for a way to implement a passive income source as passive income can be a great supplementary source of funds for many people and it can prove to be an especially valuable lifeline during a recession or during other tough times, such as the government lockdown imposed in response to the coronavirus pandemic.

In today’s article…


Link to the problem

Problem Description

Let’s jump into the question and look at the bullet points for what the problem is asking from us.

1. Given a String with lowercase letter, numbers and dashes, split the string into groups of length K.

2. First group can be of any length less than K but can’t be zero.

3. Place dash between each group in the final string.

4. Covert any lowercase letters into uppercase letters in the final string.

Now that the problem statement is clear to us, let’s jump into the solution.

Algorithm

Before jumping into the algorithm, let’s discuss the…


What is Cloud Firestore?

Cloud Firestore is a flexible, scalable database for mobile, web, and server development from Firebase and Google Cloud Platform. Like Firebase Realtime Database, it keeps your data in sync across client apps through realtime listeners and offers offline support for mobile and web so you can build responsive apps that work regardless of network latency or Internet connectivity.

What are the things we need to get started ?

  1. Gmail account.
  2. Basic knowledge of javascript.
  3. Familiarity with Node.js and how npm works.

Ok now without wasting any more time, let’s get onto the topic.

Install required Dependencies

Create a folder with any name and run the command npm init . That…


The foundation of Unitechie is sharing knowledge and helping each other grow as a community. We will outline the steps to have your articles be co-published on Unitechie. Be sure to follow the us to help support our community of authors which we hope you choose to be a part of.

How to submit an article

  1. Email unitechieorganization@gmail.com with a link to your story. Please share a draft link and wait to publish the story as this will help us maximize the results from the Medium ranking algorithm.
  2. Our team will add you as a writer.
  3. Follow these instructions to submit a story. https://help.medium.com/hc/en-us/articles/213904978-Add-draft-or-post-to-publication
  4. We…

Kavit (zenwraight)

SDE | Dota2 player | Anime lover

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store