Skip to content

Instantly share code, notes, and snippets.

View SearchSuggest.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:f956aaca9c6bcfa25b59
from collections import defaultdict
import json
import sys
import traceback
from cStringIO import StringIO
import os
import logging
logging.basicConfig(filename=os.environ["OUTPUTDIR"]+'warning.log',level=logging.DEBUG)
View gist:586af44b4e0441ec629a
{
"version": 1,
"dimensions": [
{
"field_name": "reason",
"allowed_values": "*"
},
{
"field_name": "appName",
"allowed_values": ["Fennec"]
View gist:10497511
hiddenTabs
[0] 85.95%
[1] 0.05%
[2] 0.02%
[5] 0.02%
[6] 0.02%
[3] 0.02%
[8] 0.02%
[4] 0.02%
[9] 0.01%
View gist:10497453
bookmarksBarEnabled
False 53.36%
True 45.36%
addonToolbars
0 92.12%
1 5.35%
2 0.99%
3 0.16%
4 0.06%
5 0.02%
View gist:9794549
{
"version": 1,
"dimensions": [
{
"field_name": "reason",
"allowed_values": ["saved-session"]
},
{
"field_name": "appName",
"allowed_values": ["Firefox"]
View gist:5008504
////GIVE UNIQUE ID, firstname
"use strict";
let obs_svc = require("observer-service");
let {prefs} = require("simple-prefs");
let tabs = require("tabs")
prefs["logtoconsole"] = true;
prefs["sdk.console.logLevel"] = 0;
@ilanasegall
ilanasegall / bookmarks_results.csv
Created Aug 14, 2012
results of July 2012 Firefox TP bookmarks study (; delimiter)
View bookmarks_results.csv
We can't make this file beautiful and searchable because it's too large.
Platform;FF version;Country;How do you typically bookmark a page in Firefox?;How do you typically bookmark a page in Firefox?;How do you typically bookmark a page in Firefox?;How do you typically bookmark a page in Firefox?;How do you typically bookmark a page in Firefox?;How do you typically bookmark a page in Firefox?;How do you typically bookmark a page in Firefox?;How do you typically bookmark a page in Firefox?;How do you typically bookmark a page in Firefox?;Which of the following methods did you know were possible?;Which of the following methods did you know were possible?;Which of the following methods did you know were possible?;Which of the following methods did you know were possible?;Which of the following methods did you know were possible?;Which of the following methods did you know were possible?;Which of the following methods did you know were possible?;Which of the following methods did you know were possible?;Which of the following methods did you know were possible?;Which of the following d
@ilanasegall
ilanasegall / statgen.py
Created Jul 13, 2012
generate some quick stats
View statgen.py
import fileinput
from collections import Counter
import simplejson
import re
from sets import Set
import csv
from math import floor
def match(expr, evt):