Skip to content

Instantly share code, notes, and snippets.

@hotsphink
hotsphink / pseudo.txt
Created July 8, 2019 18:06
mkgist-created gist
void JSString::traceBase(JSTracer* trc) {
MOZ_ASSERT(hasBase());
JSString* oldBase = d.s.u3.base;
if (I am a DependentString) {
// Handle the case where I am a dependent string of an undependend string,
// and therefore my chars are actually coming from its base.
base = my base
while (my chars do not come from MaybeForwarded(base).chars) {
if (base.hasBase)
base = base.base
@hotsphink
hotsphink / text.txt
Created August 19, 2019 20:03
mkgist-created gist
Taskcluster: Client ID mozilla-auth0/oauth2|firefoxaccounts|e2ef182f34964608bfd1cdc975060a70|[email protected] does not have sufficient scopes and is missing the following scopes: ``` hooks:trigger-hook:project-gecko/in-tree-action-1-generic/9a01d0526d ``` This request requires the client to satisfy the following scope expression: ``` hooks:trigger-hook:project-gecko/in-tree-action-1-generic/9a01d0526d ``` --- * method: triggerHook * errorCode: InsufficientScopes * statusCode: 403 * time: 2019-08-19T20:00:45.847Z
@hotsphink
hotsphink / offsets.txt
Created August 21, 2019 22:14
All fields in Gecko, with their offsets
This file has been truncated, but you can view the full file.
0 ._1061.ext_data : _XExtData*
0 ._1061.private1 : _XPrivate*
0 ._106.exemplar : Int
0 ._106.key : Int
0 ._107.exemplar : Int
0 ._107.key : Int
0 ._109.exemplar : Int
0 ._109.key : Int
0 ._110.name : Int*
0 ._110.type : Int
@hotsphink
hotsphink / text.txt
Created August 23, 2019 17:51
mkgist-created gist
#!/bin/sh
# Some options from https://developer.mozilla.org/en-US/docs/Mozilla/Testing/Valgrind
LOGFILE=/tmp/vg.$$
export G_SLICE=always-malloc
/usr/bin/valgrind --trace-children=yes --smc-check=all-non-file --vex-iropt-register-updates=allregs-at-mem-access --read-inline-info=yes --num-callers=50 --log-file=$LOGFILE --leak-check=full --fullpath-after=src/ "$@"
cp $LOGFILE vg.log
if grep -e 'ERROR SUMMARY: [^0]' $LOGFILE; then
@hotsphink
hotsphink / text.txt
Created December 12, 2019 00:56
mkgist-created gist
Jeff wanted rubber stamps
@hotsphink
hotsphink / JeffJeffJeff.png
Last active December 12, 2019 00:59
mkgist-created gist
JeffJeffJeff.png
@hotsphink
hotsphink / text.txt
Created December 12, 2019 18:24
mkgist-created gist
test1:
platforms:
- all
selector: syntax
talos:
- none
tests:
- all
upload_xdbs: true
@hotsphink
hotsphink / text.txt
Created December 12, 2019 18:25
mkgist-created gist
haz:
platforms:
- linux64-haz,linux64-shell-haz
selector: syntax
upload_xdbs: true
@hotsphink
hotsphink / index.html
Created December 12, 2019 18:32
mkgist-created gist
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>TryChooser Syntax Builder</title>
<link href="jquery-ui.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="trychooser.js"></script>
<link rel="shortcut icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="trychooser.css">
@hotsphink
hotsphink / background.jpg
Last active December 12, 2019 18:37
mkgist-created gist
background.jpg