Skip to content

Instantly share code, notes, and snippets.

@georgf
georgf / mobile repeated profile date.ipynb
Last active August 12, 2016 13:00
mobile repeated profile date
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@georgf
georgf / activePlugins is not an array.ipynb
Created August 22, 2016 10:52
activePlugins is not an array
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@georgf
georgf / event_size.js
Created November 10, 2016 05:52
Event size estimation (raw & compressed)
(function() {
Cu.import("resource://gre/modules/osfile.jsm", this);
Cu.import("resource://gre/modules/Task.jsm", this);
let optinPing = {"type":"main","id":"8f52807f-2ae7-d14a-a20e-9ca42eda735c","creationDate":"2016-11-05T06:42:47.220Z","version":4,"application":{"architecture":"x86-64","buildId":"20161101030207","name":"Firefox","version":"52.0a1","displayVersion":"52.0a1","vendor":"Mozilla","platformVersion":"52.0a1","xpcomAbi":"x86_64-gcc3","channel":"nightly"},"payload":{"ver":4,"simpleMeasurements":{"totalTime":75863,"uptime":1264,"addonManager":{"default_providers":true,"XPIDB_startup_load_reasons":["directoryState"],"XPIDB_syncRead_MS":2,"XPIDB_parseDB_MS":7},"UITelemetry":{"toolbars":{"sizemode":"maximized","bookmarksBarEnabled":false,"menuBarEnabled":false,"titleBarEnabled":true,"defaultKept":["edit-controls","zoom-controls","new-window-button","privatebrowsing-button","save-page-button","print-button","history-panelmenu","fullscreen-button","find-button","preferences-button","add-ons-button","deve
@georgf
georgf / Validate event telemetry on Nightly.ipynb
Last active December 19, 2016 16:22
Validate event telemetry on Nightly
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@georgf
georgf / Check moztelemetry types.ipynb
Last active December 22, 2016 18:51
Check moztelemetry types
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@georgf
georgf / histogram-empty-key-counts.ipynb
Last active February 24, 2017 11:48
histogram-empty-key-counts
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@georgf
georgf / "main" ping size distributions on Nightly.ipynb
Last active May 25, 2017 16:44
"main" ping size distributions on Nightly
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@georgf
georgf / "main" ping size distributions on Beta.ipynb
Created May 25, 2017 11:17
"main" ping size distributions on Beta
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@georgf
georgf / Current histogram & scalar payload sizes.ipynb
Last active May 8, 2018 20:02
Current histogram & scalar payload sizes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@georgf
georgf / test.py
Created May 18, 2018 10:20
quick test of msgpack vs. json encoding
import os
import sys
import datetime
import json
import umsgpack
def time(what, fn):
start = datetime.datetime.now()
fn()