Skip to content

Instantly share code, notes, and snippets.

View bdekoz's full-sized avatar

Benjamin De Kosnik bdekoz

View GitHub Profile
@bdekoz
bdekoz / keybase.md
Created December 7, 2019 00:25
keybase.md

Keybase proof

I hereby claim:

  • I am bdekoz on github.
  • I am bdekoz (https://keybase.io/bdekoz) on keybase.
  • I have a public key ASAK6KOzrzb8858QutAcz1EpoxsPqbkTxyYUPAVlVEHE4go

To claim this, I am signing this object:

@bdekoz
bdekoz / gist:b2ba449500b2a9c6fb830bbfb8068776
Created September 26, 2019 21:57
substitute local android component in fenix
diff --git a/app/build.gradle b/app/build.gradle
index 46dc4ea7..49ffbab7 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -576,7 +576,7 @@ def glean_android_components_tag = (
// Generate markdown docs for the collected metrics.
ext.gleanGenerateMarkdownDocs = true
ext.gleanDocsDirectory = "$rootDir/docs"
-apply from: 'https://github.com/mozilla-mobile/android-components/raw/' + glean_android_components_tag + '/components/service/glean/scripts/sdk_generator.gradle'
+apply from: 'https://github.com/mozilla-mobile/android-components/raw/' + 'master' + '/components/service/glean/scripts/sdk_generator.gradle'
@bdekoz
bdekoz / gist:3d72f611a84bcd0c941134f44c8480a8
Created February 22, 2019 22:32
browsertime hacks #5
# Invoke like `env ANDROID_SERIAL=... bash one.sh -n 3 -vv https://google.com`.
: PACKAGE ${PACKAGE:=org.mozilla.tv.firefox.gecko.debug}
+ : PACKAGE org.mozilla.tv.firefox.gecko.debug
# : EXTERNAL ${EXTERNAL:=/mnt/sdcard}
: TMP ${TMP:=/tmp}
+ : TMP /tmp
: RESULT_TOP_DIR ${RESULT_TOP_DIR:=browsertime-results}
+ : RESULT_TOP_DIR browsertime-results
@bdekoz
bdekoz / gist:587d254b0a2fb25081123969ac59ecf9
Created February 22, 2019 22:27
browsertime hacks #4
# Invoke like `env ANDROID_SERIAL=... bash one.sh -n 3 -vv https://google.com`.
: PACKAGE ${PACKAGE:=org.mozilla.tv.firefox.gecko.debug}
+ : PACKAGE org.mozilla.tv.firefox.gecko.debug
# : EXTERNAL ${EXTERNAL:=/mnt/sdcard}
: TMP ${TMP:=/tmp}
+ : TMP /tmp
: RESULT_TOP_DIR ${RESULT_TOP_DIR:=browsertime-results}
+ : RESULT_TOP_DIR browsertime-results
@bdekoz
bdekoz / gist:36817d09cfe3725229aa8512e9fbf4ab
Created February 22, 2019 22:21
browsertime hacks #3
# Invoke like `env ANDROID_SERIAL=... bash one.sh -n 3 -vv https://google.com`.
: PACKAGE ${PACKAGE:=org.mozilla.tv.firefox.gecko.debug}
+ : PACKAGE org.mozilla.tv.firefox.gecko.debug
# : EXTERNAL ${EXTERNAL:=/mnt/sdcard}
: TMP ${TMP:=/tmp}
+ : TMP /tmp
: RESULT_TOP_DIR ${RESULT_TOP_DIR:=browsertime-results}
+ : RESULT_TOP_DIR browsertime-results
@bdekoz
bdekoz / gist:b5dffa7198d1d8d5e45e5d41c6fc4c47
Created February 22, 2019 22:15
browsertime hacks issue #2
# Invoke like `env ANDROID_SERIAL=... bash one.sh -n 3 -vv https://google.com`.
: PACKAGE ${PACKAGE:=org.mozilla.tv.firefox.gecko.debug}
+ : PACKAGE org.mozilla.tv.firefox.gecko.debug
# : EXTERNAL ${EXTERNAL:=/mnt/sdcard}
: TMP ${TMP:=/tmp}
+ : TMP /tmp
: RESULT_TOP_DIR ${RESULT_TOP_DIR:=browsertime-results}
+ : RESULT_TOP_DIR browsertime-results
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install' ]
2 info using npm@6.4.1
3 info using node@v10.15.0
4 verbose npm-session e81bfe2c3392633b
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall browsertime@4.4.4
7 info lifecycle browsertime@4.4.4~preinstall: browsertime@4.4.4
8 silly install loadCurrentTree
9 silly install readLocalPackageData
@bdekoz
bdekoz / .block
Created October 31, 2018 22:12 — forked from kerryrodden/.block
Sequences sunburst (d3 v4)
license: apache-2.0