Skip to content

Instantly share code, notes, and snippets.

View bgrins's full-sized avatar

Brian Grinstead bgrins

View GitHub Profile
diff --git a/devtools/client/themes/webconsole.css b/devtools/client/themes/webconsole.css
index 98597d4..a951783 100644
--- a/devtools/client/themes/webconsole.css
+++ b/devtools/client/themes/webconsole.css
@@ -143,6 +143,7 @@ a {
direction: ltr;
overflow: auto;
-moz-user-select: text;
+ position: relative;
}

Keybase proof

I hereby claim:

  • I am bgrins on github.
  • I am bgrins (https://keybase.io/bgrins) on keybase.
  • I have a public key whose fingerprint is 9F9D 60FF 260C 582A FDF5 89AF 36E8 3311 DC9B 82B8

To claim this, I am signing this object:

let cancelEvent = false;
function KeyShortcuts({ window, url, element }) {
...
}
KeyShortcuts.prototype = {
...
@bgrins
bgrins / pr.md
Created February 17, 2016 18:57 — forked from piscisaureus/pr.md
Checkout github pull requests locally

Locate the section for your github remote in the .git/config file. It looks like this:

[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = [email protected]:joyent/node.git

Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:

Chrome:

console.log("%f", Infinity)
Infinity

console.log("%f", "Infinity")
NaN
@bgrins
bgrins / reviewers.txt
Last active April 26, 2024 19:59
hg log devtools -r 'date(-180)' --template '{desc|firstline}\n' | awk '{split($0,a,"r=");print tolower(a[2])}' | grep -v "^$" | sort | uniq -c
1 miker
1 ato for marionette, rs=mossop for rest)
5 backout
1 backout a=backout on a closed tree
1 backout on a closed tree
1 baku
1 baku,
1 baku,bgrins
86 bgrins
1 bgrins, jsantell
@bgrins
bgrins / ..mozconfig
Last active May 23, 2016 21:10
.mozconfig files
Sample devtools .mozconfig files

Refused to load the script 'http://www.cspplayground.com/static/jquery-1.9.1.js' because it violates the following Content Security Policy directive: "script-src http://www.google-analytics.com".

Refused to load the script 'http://www.cspplayground.com/static/csp_parse.js' because it violates the following Content Security Policy directive: "script-src http://www.google-analytics.com".

Refused to load the script 'http://www.cspplayground.com/static/bootstrap/js/bootstrap-alert.js' because it violates the following Content Security Policy directive: "script-src http://www.google-analytics.com".

Refused to load the script 'http://www.cspplayground.com/static/bootstrap/js/bootstrap-modal.js' because it violates the following Content Security Policy directive: "script-src http://www.google-analytics.com".

Refused to load the script 'http://www.cspplayground.com/static/bootstrap/js/bootstrap-affix.js' because it violates the following Content Security Policy directive: "script-src http://www.google-analytics.c

<!DOCTYPE html [
<!ENTITY browserStylesLabel "Browser styles">
]>
<html xmlns="http://www.w3.org/1999/xhtml">
&browserStylesLabel;
</html>
hg bookmark -r 98920f7f8a71 bug-xxx-fix
hg update bug-xxx-fix
hg pull mozilla-inbound
hg rebase -b . -d mozilla-inbound
# make sure you're pushing the correct patch :)
hg out -r . mozilla-inbound
hg push -r . mozilla-inbound