Skip to content

Instantly share code, notes, and snippets.

Andy Edmonds andyed

Block or report user

Report or block andyed

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@andyed
andyed / TestPilot Tabs Study 1
Created Nov 20, 2010
code for processing & working with testpilot tab dataset 1
View TestPilot Tabs Study 1
CREATE TABLE vanilla30
(user int, event_code int, tab_position int, tab_window int, ui_method int, tab_site_hash int, num_tabs int, timestamp bigint)
LOAD DATA LOCAL INFILE '~/vanilla_firefox_users_30_percent.csv'
INTO TABLE vanilla30
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
(user, event_code, tab_position, tab_window, ui_method, tab_site_hash, num_tabs, timestamp);
View tabswitch_testpilot_analysis.sql
-- data from https://testpilot.mozillalabs.com/testcases/tab-switch-study
CREATE TABLE tabopenclose (rowid MEDIUMINT NOT NULL AUTO_INCREMENT,user int, event_code varchar(20), id int, position int, window int, tab_site_hash int, srp int, tabs int, timestamp bigint, os varchar(128), ffversion varchar(20), PRIMARY KEY (rowid))
LOAD DATA LOCAL INFILE '~/tab_2000_users.csv'
INTO TABLE tabopenclose
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
(user, event_code, id, position, window, tab_site_hash, srp, tabs, timestamp, os, ffversion)
View Jetpack Kiosk Rotator
/*
@author: Andy Edmonds
@url: http://www.uxagile.com
@update: http://uxagile.com/kiosk-tab-rotator-jetpack-for-firefox/
@title: Jetpack Kiosk Tab Rotator
@description: For you information radiator screens
@license: MPL
*/
// TODO
@andyed
andyed / Bing Site Search Jetpack
Created Dec 7, 2009
Jetpack for Site Search of Current Tab
View Bing Site Search Jetpack
/*
@author: Andy Edmonds
@url: http://www.twitter.com/andyed
@email:andyed@gmail.com
@title: Bing Site Searcher
@andyed
andyed / VersionOne Ubiquity Commands for v0.5
Created Aug 19, 2009
VersionOne Ubiquity Commands for v0.5
View VersionOne Ubiquity Commands for v0.5
var v1 = {
"path" : Application.prefs.getValue("extensions.ubiquity.v1instance",""),
"debugMode" : true,
"commandVersion": "0.3.3"
}
const V1MAXRESULTS = 20;
const V1NOPATH = 'Please run v1setinstance to set the path to your server.<br/><em>v1setinstance http://localhost/versionone/</em>';
const V1BRANDBAR = '<center><img src="http://udpates.versionone.com/ubiquity/images/versionone_logo_onblack_30.gif"/></center><br/>';
const V1BSDSTYLELICENSE = 'Copyright (c) 2008, VersionOne, Inc. All rights reserved.'+
@andyed
andyed / TabRotaterJetPack.js
Created Aug 18, 2009
Kiosk TabRotater JetPack
View TabRotaterJetPack.js
/*
@author: Andy Edmonds
@url: http://www.uxagile.com
@update: http://uxagile.com/kiosk-tab-rotator-jetpack-for-firefox/
@title: Jetpack Kiosk Tab Rotator
@description: For you information radiator screens
@license: MPL
*/
// TODO
@andyed
andyed / Ubiquity 0.5 Places Command.js
Created Jul 11, 2009
Places for Ubiquity next-gen beta, using semantic roles
View Ubiquity 0.5 Places Command.js
//Derived from http://people.mozilla.org/~dietrich/ubiquity.js
var sources = ["history", "bookmarks", "starred", "tagged", "session"];
var sorts = ["revisit", "rediscover", "top", "rare", "new", "old"]
var noun_type_places_datasource = new CmdUtils.NounType("datasource", sources);
var noun_type_places_sorts = new CmdUtils.NounType(" sort attribute", sorts);
var debugMode = false;
@andyed
andyed / SEOPositionPlus.js
Created Jul 1, 2009
Google Analytics mod to extract SERP position
View SEOPositionPlus.js
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
@andyed
andyed / pdxmoz
Created Jun 11, 2009
Firefox SessionStore.js -> Tab URL List w/ Favicons
View pdxmoz
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
View Lizard Feeder GreaseMonkey Tag Cloud
// ==UserScript==
// @name Lizard Feeder: Focus/Context + Word Cloud
// @namespace feeds.mozilla.com
// @include http://feeds.mozilla.com/
// ==/UserScript==
/*
* Multi-column (just add float left, line 29)
* unsuccesful port to DOM mutation
* Version 0.0.4 Feb 20, 2009
You can’t perform that action at this time.