Skip to content

Instantly share code, notes, and snippets.

@georgf
georgf / fennec-core-validation-release.ipynb
Last active March 24, 2016 13:06
Validation of the Fennec "core" pings on release for bug 1255458
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.schema.json.patch
Created February 20, 2016 21:57
Fixups for main ping schema
--- main.schema.json 2016-02-20 22:54:40.000000000 +0100
+++ toolkit/components/telemetry/tests/schemas/main.schema.json 2016-02-20 22:34:59.000000000 +0100
@@ -21,21 +21,21 @@
"release"
]
},
"name": {
"type": "string"
},
"platformVersion": {
@georgf
georgf / TelemetryArchiveValidation.js
Last active September 14, 2015 15:36
TelemetryArchive validation scratchpad
/*
* This is to be used from a Firefox scratchpad:
* - enable chrome devtools: in about:config set "devtools.chrome.enabled" to true
* - open scratchpad: Tools -> Web Developer -> Scratchpad
* - make it run as chrome: choose Environment -> Browser
* - click "Run"
*
* After scanning the local archives this should open a new tab which highlights
* potential issues in color:
* - v2/v4 comparisons
@georgf
georgf / main.m
Created February 15, 2012 14:51
Provide before/after aspects on Cocoa objects (for http://stackoverflow.com/questions/9267727/)
#import <Foundation/Foundation.h>
@interface AspectProxy : NSProxy {
id target_;
}
- (id)initWithTarget:(id)target;
@end