Skip to content

Instantly share code, notes, and snippets.

View hew's full-sized avatar

Matt hew

View GitHub Profile
@hew
hew / _readme.md
Last active May 16, 2017 01:07 — forked from hofmannsven/README.md
My Git Cheatsheet

Cheatsheet on how to use Git

@hew
hew / ._readme.md
Last active May 16, 2017 01:20 — forked from dre1080/.powenv
Using Pow!! with Foreman (Configuration)

Make Pow!! export all the env variables contained in the .env file used by Foreman.

@hew
hew / _readme.md
Last active May 16, 2017 01:03 — forked from hlissner/replace.sh
Bulk search & replace with ag (the_silver_searcher)

Bulk search & replace with ag (the_silver_searcher)

@hew
hew / _readme.md
Last active May 16, 2017 01:08 — forked from bcomnes/postcss.config.js
Simple Postcss Config

Simple Postcss Config

@hew
hew / _readme.md
Last active January 18, 2019 05:10 — forked from jin/hackerrank.ml
OCaml HackerRank template code

OCaml HackerRank template code

@hew
hew / _readme.md
Last active June 9, 2019 21:59 — forked from phpnode/match.js

reasonml pattern matching in javascript...as best it can be

@hew
hew / Aa_readme.md
Last active January 18, 2019 05:10 — forked from mhallin/App.re
Async import pattern

async import pattern in reasonml

@hew
hew / _readme.md
Last active January 18, 2019 05:07 — forked from lilactown/promises.re
Notes on using JavaScript Promises in ReasonML/BuckleScript

thinking on promises and error handling in reasonml

@hew
hew / _readme.md
Last active April 21, 2019 05:36 — forked from alex35mil/Promise.re
Promise.re (native implementation)

Promise.re (native implementation)

@hew
hew / reducer-with-effects.js
Created August 20, 2021 18:58 — forked from davidkpiano/reducer-with-effects.js
An idea for actor-model-based effects with reducers
import {
useReducerWithEffects,
// hand-wavey, but meant to be used by React to create something
// external will produce async values sent to components
createEffect
} from 'react';
function fetchUserEffect(id, parentRef) {
const controller = new AbortController();
const signal = controller.signal;