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
activity-streams:-5-64 0 TAB_OPEN PerfMeter.js:191 | |
activity-streams:-5-64 133 WORKER_ATTACHED PerfMeter.js:191 | |
activity-streams:-5-64 239 TOP_FRECENT_SITES_REQUEST PerfMeter.js:191 | |
activity-streams:-5-64 248 TOP_FRECENT_SITES_RESPONSE 9 PerfMeter.js:191 | |
activity-streams:-5-64 253 RECENT_LINKS_REQUEST PerfMeter.js:191 | |
activity-streams:-5-64 262 RECENT_LINKS_RESPONSE 9 PerfMeter.js:191 | |
activity-streams:-5-64 277 RECENT_BOOKMARKS_REQUEST PerfMeter.js:191 | |
activity-streams:-5-64 287 RECENT_BOOKMARKS_RESPONSE 10 PerfMeter.js:191 | |
activity-streams:-5-64 291 SEARCH_STATE_REQUEST PerfMeter.js:191 | |
activity-streams:-5-64 298 NOTIFY_PERFORMANCE:BASE_MOUNTED PerfMeter.js:191 |
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
<?xml version="1.0" encoding="utf-8"?> | |
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> | |
<Description about="urn:mozilla:install-manifest"> | |
<em:id>@activity-streams</em:id> | |
<em:type>2</em:type> | |
<em:bootstrap>true</em:bootstrap> | |
<em:unpack>false</em:unpack> | |
<em:version>1.0.14</em:version> | |
<em:name>activity-streams-experiment</em:name> | |
<em:description>A rich visual history feed and a reimagined home page make it easier than ever to find exactly what you're looking for in Firefox.</em:description> |
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
#!/usr/bin/env python | |
from __future__ import print_function | |
from time import time | |
import sys | |
import sqlite3 | |
import json | |
from uuid import uuid4 | |
conn = sqlite3.connect('max.backup.sqlite', detect_types=sqlite3.PARSE_COLNAMES) | |
cur = conn.cursor() |
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
#!/usr/bin/env python | |
from __future__ import print_function | |
import sys | |
import sqlite3 | |
from uuid import uuid4 | |
conn = sqlite3.connect('places.backup.sqlite', detect_types=sqlite3.PARSE_COLNAMES) | |
conn.row_factory = sqlite3.Row | |
cur = conn.cursor() | |
drop_tables = [ |
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
/* globals XPCOMUtils, aboutNewTabService, Services, registerCleanupFunction */ | |
"use strict"; | |
let Cu = Components.utils; | |
Cu.import("resource://gre/modules/Task.jsm"); | |
Cu.import("resource://gre/modules/XPCOMUtils.jsm"); | |
Cu.import("resource://gre/modules/Services.jsm"); | |
Cu.import("resource://gre/modules/Preferences.jsm"); |
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
/* globals XPCOMUtils, aboutNewTabService, Services, registerCleanupFunction */ | |
"use strict"; | |
let Cu = Components.utils; | |
Cu.import("resource://gre/modules/Task.jsm"); | |
Cu.import("resource://gre/modules/XPCOMUtils.jsm"); | |
Cu.import("resource://gre/modules/Services.jsm"); | |
Cu.import("resource://gre/modules/Preferences.jsm"); |
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
const ONE_SECOND_IN_MILLISECONDS = 1000; | |
const URL_CHARS_LIMIT = 2000; | |
const { PrefsTarget } = require('sdk/preferences/event-target'); | |
const { setInterval, clearInterval } = require('sdk/timers'); | |
const {Cu} = require('chrome'); | |
const clipboard = require('sdk/clipboard'); | |
const preferencesService = require('sdk/preferences/service'); | |
const prefsTarget = PrefsTarget({ branchName: 'browser.startup.'}); | |
const simplePrefs = require('sdk/simple-prefs'); |
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
Show hidden characters
{ | |
"maxerr": 50, | |
"bitwise": false, | |
"camelcase": false, | |
"curly": true, | |
"eqeqeq": true, | |
"forin": true, | |
"freeze": true, | |
"immed": false, | |
"indent": 2, |
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
{ | |
"preset": "google", | |
"fileExtensions": [".js", ".jsm"], | |
"maximumLineLength": 120, | |
"esnext": true, | |
"validateQuoteMarks": true, | |
"requireCamelCaseOrUpperCaseIdentifiers": null | |
} |
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
from splice.environment import Environment | |
env = Environment.instance() | |
with env.application.app_context(): | |
# do things that use the database here | |
pass |