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/xpcom/threads/nsTimerImpl.cpp b/xpcom/threads/nsTimerImpl.cpp | |
--- a/xpcom/threads/nsTimerImpl.cpp | |
+++ b/xpcom/threads/nsTimerImpl.cpp | |
@@ -9,16 +9,19 @@ | |
#include "nsAutoPtr.h" | |
#include "nsThreadManager.h" | |
#include "nsThreadUtils.h" | |
#include "plarena.h" | |
#include "pratom.h" | |
#include "GeckoProfiler.h" |
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 matplotlib as mp | |
import matplotlib.pylab | |
import numpy | |
import sys | |
import simplejson as json | |
from scipy import stats | |
from urllib.request import urlopen | |
sample_unit = None |
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
# Exploratory analysis hackjob for Mainthread-IO data | |
library(data.table) | |
library(ggplot2) | |
library(doMC) | |
registerDoMC(8) | |
############################################################ | |
# High frequency files analysis | |
############################################################ |
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
library(forecast) | |
library(ggplot2) | |
library(dplyr) | |
predictions = as.factor(read.csv('results.csv')$Prediction) | |
levels(predictions) <- c("ok", "drop") | |
submissions <- read.csv('submissions.csv')$Submissions | |
submissions <- msts(submissions, seasonal.periods=c(24, 7*24), ts.frequency=24) |
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
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
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 | |
def map(k, d, v, cx): | |
j = json.loads(v) | |
try: | |
addons = j['info']['addons'] | |
except: | |
return |
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
{ | |
"version": 1, | |
"dimensions": [ | |
{ | |
"field_name": "reason", | |
"allowed_values": ["saved-session"] | |
}, | |
{ | |
"field_name": "appName", | |
"allowed_values": "Firefox" |
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
# HG changeset patch | |
# Parent a4dcfbebcb588b9893900152eb512c3810880d68 | |
# User Roberto A. Vitillo <rvitillo@mozilla.com> | |
Bug 559505 - localstore.rdf kills ponies; r=enn | |
diff --git a/b2g/installer/package-manifest.in b/b2g/installer/package-manifest.in | |
--- a/b2g/installer/package-manifest.in | |
+++ b/b2g/installer/package-manifest.in | |
@@ -290,16 +290,17 @@ | |
@BINPATH@/components/shellservice.xpt |
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
library(dplyr) | |
library(reshape) | |
library(doMC) | |
library(caret) | |
trim.leading <- function (x) sub("^\\s+", "", x) | |
trim.trailing <- function (x) sub("\\s+$", "", x) | |
trim <- function (x) gsub("^\\s+|\\s+$", "", x) | |
registerDoMC(8) |
This file has been truncated, but you can view the full file.
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
{ | |
"metadata": { | |
"name": "", | |
"signature": "sha256:081b9937ad2575f1768d01c339462ad704226fa0c6551d14934aad2abf212241" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ |
OlderNewer