Skip to content

Instantly share code, notes, and snippets.

View rosario's full-sized avatar

Rosario rosario

  • London
View GitHub Profile
@rosario
rosario / config.ru
Created December 5, 2013 15:43
Config file
require './site'
run Sinatra::Application
@rosario
rosario / composing-software.md
Created January 17, 2018 16:13 — forked from Geoff-Ford/composing-software.md
Eric Elliott's Composing Software Series
// Original code by Homer Chen
// https://github.com/homerchen19/use-undo
// Same as original but using useState instead of useReducer
import { useState, useCallback } from 'react';
const initialState = {
past: [],
present: null,

JavaScript Developer Setup

A hopefully helpful guide to getting a basic setup on your mac for JS and React Native development.

Note: This is a work in progress, I'll keep adding/updating

General Setup

  • Homebrew - We'll need this to install other things below
    • /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    • https://brew.sh/
  • Git