Skip to content

Instantly share code, notes, and snippets.

View debojyoti's full-sized avatar
:octocat:
Making bugs for github since 2016

Debojyoti Saha debojyoti

:octocat:
Making bugs for github since 2016
View GitHub Profile

React-redux implementation with boiler-plate


Boiler-plate: Github repo

We will be using react-redux to maintain the standard ways to connect redux with react.

React Native setup steps for ubuntu

Minimum Node v9.8.1 is required for setup. Go to the installation guide!

Step-1: Install react-native-cli globally

npm install -g react-native-cli

Play with multiple versions of node (in linux)

Install nvm (node version manager)

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
@debojyoti
debojyoti / angular_firestore.md
Last active March 11, 2019 05:34
A to Z of firestore operations in an angular app

Firebase crud operations in angular

Initial setup

npm install firebase @angular/fire --save

Register in app module

...
import { AngularFireModule } from '@angular/fire';
import { AngularFirestoreModule } from '@angular/fire/firestore';

Terms and conditions of cross-platform frameworks

Single codebase

Nowadays cross-platform (CP) mobile app development is on the eye of everyone. Enterprises are almost forced to take CP frameworks into consideration when planning a new prdouct/service or update to an older one. Also, developers having CP skills are totally in-demand. Let’s get a little context and analyze this phenomena.

Development options available

In the mobile realm, you’ll hear often terms like native app and hybrid app. What’s the difference?

Instabug configuration

Step-1: Add the cordova plugin

ionic cordova plugin add instabug-cordova@8.0.4

Step-2: Configure the android platform files accordingly

2.1) Open YOUR_PROJECT/platforms/android/AndroidManifest.xml

Steps to setup ssh access to a droplet

Step-1: Generate keys in your local machine

1.1) Run the following commands in your local machine to generate (public and private) key pair

ssh-keygen -t rsa
@debojyoti
debojyoti / lenovo_ideapad_330_ubuntu.md
Last active October 15, 2023 20:13
Lenovo ideapad 330 (15ARR) ubuntu issues and there solutions

Lenovo ideapad 330 (15ARR) ubuntu issues and their solutions

Issue-1: None of the ubuntu distros are getting installed

Solution: Ubuntu distros lower than 18.10 will not work in this laptop, as minimum kernal version required is 4.18.

So install ubuntu 18.10 / xubuntu 18.10 / lubuntu 18.10 / kubuntu 18.10 in UEFI mode

Issue-2: Wifi is not working

Angular Universal setup for firebase hosting

1) Install firebase-tools globally

npm i -g firebase-tools

2) Install @angular/platform-server

Firestore setup and basic opertaions in Angular 7

Step-1: Prepare firebase firestore

1.1) Create a new project from firebase console

1.2) Go to newly created project page and create a database

1.3) Select "Start in test mode"

1.4) Create a new collection with a new document in it

Step-2: Setup firebase in angular-project