Skip to content

Instantly share code, notes, and snippets.

View juliandescottes's full-sized avatar

Julian Descottes juliandescottes

View GitHub Profile
cf http://stackoverflow.com/questions/5501804/easiest-way-to-split-a-change-set-in-mercurial
- hg histedit / edit
- hg record
- hg histedit --continue
transparent linear-gradient(0deg, blue, red, green 40%, blue, red, blue, red, blue, red, gold) repeat scroll 0% 0%
@juliandescottes
juliandescottes / gist:54a51d390bae2a4a8e6d
Last active April 18, 2016 09:40
Firefox try commit and push
hg commit --close-branch -m "try: -b do -p linux,macosx64,win32 -u mochitests[Ubuntu,10.10,Windows 7,-x64] -t none"
hg commit --close-branch -m "try: -b do -p linux,macosx64,win32 -u xpcshell,mochitests[Ubuntu,10.10,Windows 7,-x64] -t none"
hg commit --close-branch -m "try: -b do -p linux,linux64,macosx64,win32 -u xpcshell,mochitests"
// mochitests devtools only on linux ... because
hg commit --close-branch -m 'try: -b do -p linux -u mochitest-dt[Ubuntu] -t none'
hg commit --close-branch -m 'try: -b do -p linux,linux64 -u mochitest-e10s-devtools-chrome-6 -t none'
hg commit --close-branch -m 'try: -b d -p linux64 -u mochitest-devtools-chrome-1,mochitest-e10s-devtools-chrome-1 -t none --try-test-paths devtools-chrome:devtools/client/inspector/markup/test --failure-emails --rebuild 20'
hg push -f try
import argparse, fileinput, glob, os, re
def get_keys_from_file(path):
if not os.path.exists(path):
print 'path: [%s] is invalid' % path
f = open(path, 'r')
lines = f.readlines()
f.close()
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAFACAYAAADNkKWqAAAB7klEQVR4nO3UQQ0AIADEMPybBg987rE2mYWdAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA+PAA3mV7hQiMke4AAAAASUVORK5CYII=
diff --git a/packages/devtools-local-toolbox/bin/development-server.js b/packages/devtools-local-toolbox/bin/development-server.js
index c1f34cf..fa50da3 100755
--- a/packages/devtools-local-toolbox/bin/development-server.js
+++ b/packages/devtools-local-toolbox/bin/development-server.js
@@ -32,8 +32,8 @@ function httpGet(url, onResponse) {
});
}
-function serveRoot(req, res) {
- const tplPath = path.join(__dirname, "../index.html");
webpack built ca0b70130d2dd4011140 in 9133ms
Hash: ca0b70130d2dd4011140
Version: webpack 1.14.0
Time: 9133ms
Asset Size Chunks Chunk Names
reps.js 2.26 MB 0 reps
reps.js.map 2.73 MB 0 reps
chunk {0} reps.js, reps.js.map (reps) 2.18 MB [rendered]
[0] multi reps 40 bytes {0} [built]
[1] ./src/launchpad/index.js 2.5 kB {0} [built]
@juliandescottes
juliandescottes / how_to_test_telemetry_patches.md
Created July 31, 2017 09:09
How to test telemetry stuff
  • Perform a normal non-artifact build
  • Go to about:telemetry
  • Under histogram, look for ENTRY_POINT