Skip to content

Instantly share code, notes, and snippets.

View nchevobbe's full-sized avatar

Nicolas Chevobbe nchevobbe

View GitHub Profile
@nchevobbe
nchevobbe / not_wordle_just_my_firefox_tabs.js
Created February 4, 2022 15:13
Not Wordle Just My Firefox Tabs
// Evaluate the following in Firefox Browser Console
copy("Not Wordle, just my #firefox tabs:\n" +
gBrowser.tabs
.map(tab => tab.pinned ? `🟪` : tab.getAttribute("pending") ? `🟨` : `🟩` )
.reduce((acc, curr) => {
if (acc.at(-1).length == 10) {
acc.push("");
}
acc[acc.length - 1] += curr;
return acc;
@nchevobbe
nchevobbe / .hgrc
Last active April 4, 2023 08:46
hg log graph with links to Bugzilla and Phabricator
[alias]
wip = log --graph --rev=wip --template=wip
[revsetalias]
wip = (parents(not public()) or not public() or . or (head() and branch(default))) and (not obsolete() or orphan()^) and not closed() and not (fxheads() - date(-90))
ignored_changesets = desc("ignore-this-changeset") or extdata(get_ignored_changesets)
[templates]
wip = '{
label(