I hereby claim:
- I am gijsk on github.
- I am gijs (https://keybase.io/gijs) on keybase.
- I have a public key ASACwoou1q_igKo5QCtmKsUCFwWkzousR39mKxGBKsC0DAo
To claim this, I am signing this object:
| function postProcessParagraph(p) { | |
| // Trim leading and trailing whitespace. | |
| while (p.firstChild && this._isWhitespace(p.firstChild)) { | |
| p.firstChild.remove(); | |
| } | |
| while (p.lastChild && this._isWhitespace(p.lastChild)) { | |
| p.lastChild.remove(); | |
| } | |
| // If there's nothing left, drop it. |
| diff --git a/tools/quitter/parent.js b/tools/quitter/parent.js | |
| --- a/tools/quitter/parent.js | |
| +++ b/tools/quitter/parent.js | |
| @@ -4,14 +4,24 @@ | |
| const {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm"); | |
| this.quitter = class extends ExtensionAPI { | |
| getAPI(context) { | |
| return { |
| rebase_all_drafts() { | |
| local TO_REBASE=`hg log -r "draft() & children($1)" --template '{node}\n'` | |
| while read -r line; do | |
| echo "Running: hg rebase -s $line -d $2" | |
| hg rebase -s "$line" -d $2 | |
| done <<< "$TO_REBASE" | |
| } |
| import os | |
| from kinto_http import Client | |
| FIREFOX_GUID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" | |
| SERVER = os.getenv("SERVER") or "https://settings-writer.prod.mozaws.net/v1" | |
| USERNAME = os.getenv("USERNAME") | |
| PASSWORD = os.getenv("PASSWORD") | |
| import os | |
| from kinto_http import Client | |
| FIREFOX_GUID = "ec8030f7-c20a-464f-9b0e-13a3a9e97384" | |
| SERVER = os.getenv("SERVER") or "https://settings-writer.prod.mozaws.net/v1" | |
| USERNAME = os.getenv("USERNAME") | |
| PASSWORD = os.getenv("PASSWORD") | |
I hereby claim:
To claim this, I am signing this object:
| (function($) { | |
| function getRangeBounds(r) { | |
| function isCDN(n) { | |
| var t = n.nodeType; | |
| return t == 3 || t == 4 || t == 8; | |
| } | |
| function getNodeIndex(node) { | |
| var i = 0; |