Cheatsheet on how to use Git
Make Pow!! export all the env variables contained in the .env file used by Foreman.
Bulk search & replace with ag (the_silver_searcher)
Simple Postcss Config
OCaml HackerRank template code
reasonml pattern matching in javascript...as best it can be
async import pattern in reasonml
thinking on promises and error handling in reasonml
Promise.re (native implementation)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
OlderNewer