This file contains 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
{-# OPTIONS_GHC -Wall -O2 #-} | |
module Main where | |
main :: IO() | |
main = interact (solve . readTestCases) | |
-- This builds a list of lists representing the problem | |
readTestCases :: String -> [[Int]] | |
readTestCases = parse 1 . map read . words |
This file contains 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
;(function($, Modernizr, _gaq, site) { | |
'use strict'; | |
if (site.platform === 'android') { | |
return; | |
} | |
// Load images on load so as not to block the loading of other images. | |
$(window).on('load', function() { | |
// Replace install images depending on the user's platform. |
This file contains 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/toolkit/modules/GMPInstallManager.jsm b/toolkit/modules/GMPInstallManager.jsm | |
--- a/toolkit/modules/GMPInstallManager.jsm | |
+++ b/toolkit/modules/GMPInstallManager.jsm | |
@@ -99,17 +99,17 @@ GMPInstallManager.prototype = { | |
let certs = null; | |
if (!Services.prefs.prefHasUserValue(GMPPrefs.KEY_URL_OVERRIDE)) { | |
allowNonBuiltIn = !GMPPrefs.get(GMPPrefs.KEY_CERT_REQUIREBUILTIN, true); | |
if (GMPPrefs.get(GMPPrefs.KEY_CERT_CHECKATTRS, true)) { | |
certs = gCertUtils.readCertPrefs(GMPPrefs.KEY_CERTS_BRANCH); | |
} |
This file contains 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/docker/Dockerfile b/docker/Dockerfile | |
index 3353e8c6f..84d802a1c 100644 | |
--- a/docker/Dockerfile | |
+++ b/docker/Dockerfile | |
@@ -50,9 +50,12 @@ COPY . /app/ | |
# static files | |
RUN cd /app/webapp-django/ && python manage.py collectstatic --noinput | |
+# app should own everything under /app in the container | |
+RUN chown -R app.app /app |