Skip to content

Instantly share code, notes, and snippets.

View jidesakin's full-sized avatar
🪴

Babajide Owosakin jidesakin

🪴
View GitHub Profile
@jidesakin
jidesakin / postgres-brew.md
Created April 2, 2019 13:09 — forked from ibraheem4/postgres-brew.md
Installing Postgres via Brew (OSX)

Installing Postgres via Brew

Pre-Reqs

Brew Package Manager

In your command-line run the following commands:

  1. brew doctor
  2. brew update
@jidesakin
jidesakin / slim-redux.js
Created January 29, 2018 11:49 — forked from gaearon/slim-redux.js
Redux without the sanity checks in a single file. Don't use this, use normal Redux. :-)
function mapValues(obj, fn) {
return Object.keys(obj).reduce((result, key) => {
result[key] = fn(obj[key], key);
return result;
}, {});
}
function pick(obj, fn) {
return Object.keys(obj).reduce((result, key) => {
if (fn(obj[key])) {