Skip to content

Instantly share code, notes, and snippets.

View Cellule's full-sized avatar

Michael "Mike" Ferris Cellule

View GitHub Profile
@Cellule
Cellule / handle-thing+2.0.0.patch
Created March 17, 2020 17:17
handle-thing patch
diff --git a/node_modules/handle-thing/lib/handle.js b/node_modules/handle-thing/lib/handle.js
index da70b3f..399742b 100644
--- a/node_modules/handle-thing/lib/handle.js
+++ b/node_modules/handle-thing/lib/handle.js
@@ -7,8 +7,19 @@ var Buffer = require('buffer').Buffer
var Queue = require('./queue')
// Node.js version
+var match = /^v(\d+)\.(\d+)\./.exec(process.version)
+var version = match ? Number(match[1]) + Number('0.' + match[2]) : 11
@Cellule
Cellule / reviewable-bindings.json
Last active May 5, 2021 17:58
Reviewable bindings
[
["f", "Show next/latest diffs", "setProposedDiffBounds()"],
["n", "Next unreviewed file", "nextUnreviewedFile()"],
["p", "Previous unreviewed file", "prevUnreviewedFile()"],
["shift+n", "Next changed file", "nextChangedFile()"],
["shift+p", "Previous changed file", "prevChangedFile()"],
[null, "Next visible file", "nextVisibleFile()"],
[null, "Previous visible file", "prevVisibleFile()"],
[null, "Next file", "nextFile()"],