Skip to content

Instantly share code, notes, and snippets.


Kyle Goggin kgoggin

View GitHub Profile
lilactown /
Last active Apr 24, 2020
Notes on using JavaScript Promises in ReasonML/BuckleScript
* Making promises
let okPromise = Js.Promise.make((~resolve, ~reject as _) => [@bs] resolve("ok"));
/* Simpler promise creation for static values */
Js.Promise.reject(Invalid_argument("too easy"));

Run each of the following lines, replacing and codehere with your details:

now dns add @ TXT google-site-verification=codehere
now dns add @ MX ASPMX.L.GOOGLE.COM 1
now dns add @ MX ALT1.ASPMX.L.GOOGLE.COM 5
now dns add @ MX ALT2.ASPMX.L.GOOGLE.COM 5
now dns add @ MX ALT3.ASPMX.L.GOOGLE.COM 10
now dns add @ MX ALT4.ASPMX.L.GOOGLE.COM 10