Skip to content

Instantly share code, notes, and snippets.

@hotsphink
hotsphink / text.txt
Created June 28, 2019 18:55
mkgist-created gist
This file has been truncated, but you can view the full file.
#-----------------------------------------------------------------
# dmd.py -o dmd2.out dmd-TabsOpenSettled-2-1908.json.gz
Invocation {
$DMD = '--mode=dark-matter --stacks=full'
Mode = 'dark-matter'
}
#-----------------------------------------------------------------
@hotsphink
hotsphink / text.txt
Created June 28, 2019 17:40
mkgist-created gist
diff --git a/tools/rb/fix_stack_using_bpsyms.py b/tools/rb/fix_stack_using_bpsyms.py
--- a/tools/rb/fix_stack_using_bpsyms.py
+++ b/tools/rb/fix_stack_using_bpsyms.py
@@ -180,17 +180,19 @@ def addressToSymbol(file, address, symbo
p = getSymbolFile(file, symbolsDir)
if p:
return p.addrToSymbol(address)
else:
return ""
@hotsphink
hotsphink / text.txt
Created June 28, 2019 17:39
mkgist-created gist
This file has been truncated, but you can view the full file.
#-----------------------------------------------------------------
# dmd.py -o dmd.out dmd-TabsOpenSettled-2-7156.json.gz
Invocation {
$DMD = '--mode=dark-matter --stacks=full'
Mode = 'dark-matter'
}
#-----------------------------------------------------------------
@hotsphink
hotsphink / compare-scores
Last active June 25, 2019 17:41
mkgist-created gist
#!/usr/bin/perl
use Getopt::Long;
use strict;
my %score;
my $prename;
my $postname;
GetOptions("pre|0=s" => \$prename,
@hotsphink
hotsphink / text.txt
Created June 25, 2019 17:39
mkgist-created gist
Tools for looking at octane scores
@hotsphink
hotsphink / text.txt
Created June 25, 2019 17:37
mkgist-created gist
#!/usr/bin/perl
use Getopt::Long;
use strict;
my %score;
my $prename;
my $postname;
GetOptions("pre|0=s" => \$prename,
@hotsphink
hotsphink / text.txt
Created June 13, 2019 17:20
mkgist-created gist
function stuff() {
const getStrings = (strings, ...values) => strings;
const getRef = eval('() => getStrings`test`');
let wait = 0;
let ref = getRef();
let state = inIon();
const go = () => {
const newRef = getRef();
if (newRef !== ref) {
print('New ref 😢');
@hotsphink
hotsphink / text.txt
Created June 6, 2019 15:36
mkgist-created gist
Host hg.mozilla.org
User [email protected]
@hotsphink
hotsphink / text.txt
Created June 5, 2019 17:22
mkgist-created gist
# HG changeset patch
# User Steve Fink <[email protected]>
# Date 1517297227 28800
# Mon Jan 29 23:27:07 2018 -0800
# Node ID 236b85186605693383e2a4999b87c1b5c4e9a338
# Parent e8c553a7196328fed522cc5d4bafc78dcdc1a099
# EXP-Topic pretenure.dedupe
Bug 903519 - M-dedupe
diff --git a/README.txt b/README.txt
@hotsphink
hotsphink / text.md
Last active May 31, 2019 23:31
mkgist-created gist

I have a stack of 13 draft patches on top of a public revision b37b6c015168. I pull from upstream, get a bunch of new changesets, the top one is 1adf382a3e65. The first 8 patches in my stack have landed upstream, so I'm hoping to discard those in favor of their public versions. I rebase my stack on top of the new patch:

% hg rebase -d 1adf382a3e65

(I was updated to the tip of my patch stack.) I do a bunch of manual merging, then when the rebase is complete it says

12 new orphan changesets