These are the instructions for getting the debugger.html project to connect to and debug Safari on various platforms.
Requirements
- Xcode
- Download and install Xcode from Apple
These are the instructions for getting the debugger.html project to connect to and debug Safari on various platforms.
Requirements
| // edit these values | |
| const API_KEY_ID = "9352fd37f2f4ce923932c9c6328829a5be7093ea3d"; | |
| const QUERY_ID = 1002; | |
| const YOUR_REDASH = "https://your.redash.io/api/queries/"; | |
| // leave this | |
| const API_KEY = `?api_key=${API_KEY_ID}`; | |
| const RESULT_URL = `${YOUR_REDASH}${QUERY_ID}/results.csv${API_KEY}`; | |
| d3.csv(RESULT_URL, function(data) { |
| diff --git a/public/js/components/Editor.css b/public/js/components/Editor.css | |
| index ff6160c..3986f92 100644 | |
| --- a/public/js/components/Editor.css | |
| +++ b/public/js/components/Editor.css | |
| @@ -52,6 +52,10 @@ | |
| z-index: 0; | |
| } | |
| +.new-breakpoint .CodeMirror-linewidget .helpful-message { | |
| + background-color: yellow; |
Helpful Resources
| =QUERY( | |
| IMPORTRANGE( | |
| "1pfBHQvc1A4b6WrByMLfk-VK9ycDwFEvlZZla2V6UWx4", | |
| "data!A2:D260" | |
| ), | |
| "Select Col2,Col3 where Col1 = '"&$B2&"'" | |
| ) |
| 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; | |
| } |
| I give my permission to license under the MPL 2 any contributions I make to the debugger.html codebase. |
| 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) |
| 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 | |
| } |
| 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 |