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
=QUERY( | |
IMPORTRANGE( | |
"1pfBHQvc1A4b6WrByMLfk-VK9ycDwFEvlZZla2V6UWx4", | |
"data!A2:D260" | |
), | |
"Select Col2,Col3 where Col1 = '"&$B2&"'" | |
) |
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/public/js/components/App.css b/public/js/components/App.css | |
index 7dc9896..86e507a 100644 | |
--- a/public/js/components/App.css | |
+++ b/public/js/components/App.css | |
@@ -25,6 +25,7 @@ body { | |
.debugger { | |
display: flex; | |
flex: 1; | |
+ flex-flow: row wrap; | |
} |
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
I give my permission to license under the MPL 2 any contributions I make to the debugger.html codebase. |
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
import json | |
from functools import cmp_to_key | |
import locale | |
import urllib2 | |
local_fname = 'Histograms.json' | |
url = 'https://hg.mozilla.org/mozilla-central/raw-file/tip/toolkit/components/telemetry/Histograms.json' | |
req = urllib2.Request(url) | |
response = urllib2.urlopen(req) |
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
Cu.import("resource://gre/modules/FxAccounts.jsm"); | |
fxAccounts.getSignedInUser().then((data) => { | |
if (data !== null && data.email) { | |
console.log('logged in with email', data.email); | |
// logged in | |
} else { | |
// not logged in | |
} |
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
var loopback = require('loopback'); | |
var boot = require('loopback-boot'); | |
var path = require('path'); | |
var app = module.exports = loopback(); | |
// boot scripts mount components like REST API | |
boot(app, __dirname); | |
// https://github.com/angular-ui/ui-router/wiki/Frequently-Asked-Questions#how-to-configure-your-server-to-work-with-html5mode |
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
// server/boot/email.js | |
var htmlToText = require('nodemailer-html-to-text').htmlToText; | |
var path = require('path'); | |
function templatePath (template) { | |
// this looks for templates in the root 'templates' folder where other email templates like verify.ejs exist | |
return path.join(__dirname, '..', '..', 'templates', template); | |
} |
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
"geonames": { | |
"name": "geonames", | |
"debug": true, | |
"connector": "rest", | |
"operations": [ | |
{ | |
"template": { | |
"doc": "GeoNames API: timezoneJSON", | |
"method": "GET", | |
"url": "http://api.geonames.org/timezoneJSON", |
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
var googleapis = loopback.createDataSource({ | |
connector: require("loopback-connector-rest"), | |
strictSSL: false, | |
debug: false, | |
defaults: { | |
"headers": { | |
"accept": "application/json", | |
"content-type": "application/json" | |
} | |
}, |
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
"google": { | |
"name": "google", | |
"debug": true, | |
"connector": "rest", | |
"operations": [ | |
{ | |
"template": { | |
"doc": "The Google Time Zone API", | |
"method": "GET", | |
"url": "https://maps.googleapis.com/maps/api/timezone/{format=json}", |