Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
Since Twitter doesn't have an edit button, it's a suitable host for JavaScript modules.
Source tweet: https://twitter.com/rauchg/status/712799807073419264
const leftPad = await requireFromTwitter('712799807073419264');
After installing it http://sourceforge.net/projects/meld-installer/ | |
I had to tell git where it was: | |
git config --global merge.tool meld | |
git config --global diff.tool meld | |
git config --global mergetool.meld.path “C:\Program Files (x86)\Meld\meld\meld.exe” | |
And that seems to work. Both merging and diffing with “git difftool” or “git mergetool” |
import { format } from 'url'; | |
import { STATUS_CODES } from 'http'; | |
import uppercamelcase from 'uppercamelcase'; | |
class HTTPError extends Error { | |
constructor(code, message, extras) { | |
super(message || STATUS_CODES[code]); | |
if (arguments.length >= 3 && extras) { | |
Object.assign(this, extras); | |
} |