Skip to content

Instantly share code, notes, and snippets.

View mushfiqweb's full-sized avatar

Mushfiqur Rahman mushfiqweb

View GitHub Profile
@mushfiqweb
mushfiqweb / install-mongodb-on-OS-X.md
Last active August 7, 2017 12:35 — forked from Sydney-o9/install-mongodb-mac-os-x.md
Install MongoDB on Mac OS X without brew

1. Download latest source

# Get latest from MongoDB website
$ curl -O https://fastdl.mongodb.org/osx/mongodb-osx-x86_64-3.4.6.tgz
$ tar -zxvf mongodb-osx-x86_64-3.4.6.tgz
$ mkdir -p mongodb
$ cp -R -n mongodb-osx-x86_64-3.4.6/ mongodb
$ sudo mv mongodb /usr/local
@mushfiqweb
mushfiqweb / FieldArraysForm.js
Created November 9, 2017 23:40 — forked from erikras/FieldArraysForm.js
Example showing how to use a formValueSelector on an individual array item
/**
The following can replace the file in the Field Arrays example
(https://github.com/erikras/redux-form/tree/master/examples/fieldArrays) to demonstrate this functionality.
**/
import React from 'react'
import { connect } from 'react-redux'
import { Field, FieldArray, reduxForm, formValueSelector } from 'redux-form'
import validate from './validate'
@mushfiqweb
mushfiqweb / CRA-Persistor.md
Last active September 5, 2018 12:04 — forked from pash90/NewCreateReactAppTS.md
CRA-Persistor

Introduction

After completing this guide, you'll have a new project with the following:

  • React v16
  • Redux
  • Redux Form
  • React-Router v4
  • LocalStorage persistance