Skip to content

Instantly share code, notes, and snippets.


Leandro RR leandroruel

View GitHub Profile
TooTallNate / http-error.js
Created Aug 3, 2016
HTTPError class for JavaScript HTTP errors
View http-error.js
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);
rauchg /
Last active Jan 30, 2022
kjlubick / InstallingMeld
Last active Jun 8, 2022
How to install Meld on Windows and getting it set up with Git
View InstallingMeld
After installing it
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”