This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[cinnabar] | |
helper = /Users/andreioprea/Work/git-cinnabar/git-cinnabar-helper | |
[user] | |
name = Andrei Oprea | |
email = [email protected] | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
# Basic boostrap | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends \ | |
ca-certificates \ | |
git \ | |
python \ | |
build-essential \ | |
wget \ | |
curl \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export SHELL=/bin/bash | |
cd /firefox/src | |
git clone https://github.com/mozilla/activity-stream.git | |
cd activity-stream | |
npm install | |
npm buildmc | |
npm run mochitest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Automatically download and use compiled C++ components: | |
ac_add_options --enable-artifact-builds | |
# Write build artifacts to: | |
mk_add_options MOZ_OBJDIR=./objdir-frontend | |
mk_add_options AUTOCLOBBER=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/browser/components/preferences/in-content/home.js b/browser/components/preferences/in-content/home.js | |
index e6e02c24c9e1..20cbf7db56e7 100644 | |
--- a/browser/components/preferences/in-content/home.js | |
+++ b/browser/components/preferences/in-content/home.js | |
@@ -31,13 +31,45 @@ Preferences.addAll([ | |
const HOMEPAGE_OVERRIDE_KEY = "homepage_override"; | |
const URL_OVERRIDES_TYPE = "url_overrides"; | |
const NEW_TAB_KEY = "newTabURL"; | |
+const ACTIVITY_STREAM_PREF_BRANCH = "browser.newtabpage.activity-stream."; | |
+const NEWTAB_ENABLED_PREF = "browser.newtabpage.enabled"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"messages": [ | |
{ | |
"content": { | |
"button_label": "Sign Up", | |
"dismiss_button_label": "Dismiss", | |
"scene2_button_label": "Sign Up Now", | |
"scene2_email_placeholder_text": "Your email here", | |
"form_action": "https://basket.mozilla.org/subscribe.json", | |
"success_text": "Check your inbox for the confirmation!", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/snippets/settings.py b/snippets/settings.py | |
index 91e4e5a..f1e8dd6 100644 | |
--- a/snippets/settings.py | |
+++ b/snippets/settings.py | |
@@ -199,12 +199,14 @@ TEMPLATES = [ | |
CSP_DEFAULT_SRC = ( | |
"'self'", | |
+ "'unsafe-inline'", | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mutate i' g = | |
let i = getDummy i' | |
(g', newI) = foldl mutateEach (g, []) i | |
in (Dummy newI, g') | |
where mutateEach (gen, acc) el = | |
let (n, gen') = randomR (1, 100) gen | |
in (gen', el + n : acc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/worker/bin/run-task --chown /home/worker/workspace -- /home/worker/bin/test-linux.sh --no-read-buildbot-config --installer-url=https://queue.taskcluster.net/v1/task/d_RCYNZ_QZGzny7JHoq8QQ/artifacts/public/build/target.tar.bz2 --test-packages-url=https://queue.taskcluster.net/v1/task/d_RCYNZ_QZGzny7JHoq8QQ/artifacts/public/build/target.test_packages.json --mochitest-suite=browser-chrome-chunked --total-chunk=7 --this-chunk=3 --download-symbols=ondemand |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.Dedupe = class Dedupe { | |
constructor(createKey, compare) { | |
this.createKey = createKey || this.defaultCreateKey; | |
this.compare = compare || this.defaultCompare; | |
} | |
defaultCreateKey(item) { | |
return item; | |
} |