- have a README.md
- pull request with bug number will upload patch to bug
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
/* | |
* Running this scratchpad in chrome mode will open a devtools window that's debugging | |
* the current browser window | |
*/ | |
let {devtools} = Components.utils.import("resource:///modules/devtools/gDevTools.jsm", {}); | |
let win = Services.wm.getMostRecentWindow("navigator:browser"); | |
let target = devtools.TargetFactory.forWindow(win); | |
let toolbox = gDevTools.showToolbox(target, "styleeditor", "window"); |
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
/* | |
* Running this scratchpad in chrome mode will open a devtools window that's debugging | |
* the devtools window that's debugging the currently selected tab. | |
*/ | |
let {devtools} = Components.utils.import("resource:///modules/devtools/gDevTools.jsm", {}); | |
let tabTarget = devtools.TargetFactory.forTab(gBrowser.selectedTab); | |
let toolbox = gDevTools.getToolbox(tabTarget); | |
let win = toolbox._host.frame.contentWindow; |
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
fx-team $ make -f client.mk configure | |
cp /Users/harth/hgs/fx-team/mozconfig obj-x86_64-apple-darwin10.8.0/.mozconfig | |
cd obj-x86_64-apple-darwin10.8.0 | |
/Users/harth/hgs/fx-team/configure | |
Adding configure options from /Users/harth/hgs/fx-team/mozconfig: | |
--enable-chrome-format=symlink | |
loading cache ./config.cache | |
checking host system type... x86_64-apple-darwin10.8.0 | |
checking target system type... x86_64-apple-darwin10.8.0 | |
checking build system type... x86_64-apple-darwin10.8.0 |
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
var http = require("http"), | |
url = require("url"), | |
fs = require("fs"), | |
async = require("async"), | |
Instagram = require('instagram-node-lib'); | |
Instagram.set('client_id', /* client key */); | |
Instagram.set('client_secret', /* client secret */); | |
fetchTag('cat', 400); |
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
Warning: "config" scripts exist outside your system or Homebrew directories. | |
`./configure` scripts often look for *-config scripts to determine if | |
software packages are installed, and what additional flags to use when | |
compiling and linking. | |
Having additional scripts in your path can confuse software installed via | |
Homebrew if the config script overrides a system or Homebrew provided | |
script of the same name. We found the following "config" scripts: | |
/opt/local/bin/icu-config |
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
/* | |
TODO: | |
- zoom level menu | |
- need to find a way to re-start the update | |
- add color tools | |
- integrate better in Firefox | |
- crosshair has a 1px offset | |
*/ |
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
var ntwitter = require("ntwitter"), | |
growl = require("growl"); | |
var twitter = new ntwitter({ | |
// fill in w/ keys from https://dev.twitter.com/apps/new | |
consumer_key: null, | |
consumer_secret: null, | |
access_token_key: null, | |
access_token_secret: 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
module.exports = { | |
"Ranavan": [ | |
"NNP" | |
], | |
"fawn": [ | |
"NN" | |
], | |
"pro-Soviet": [ | |
"JJ" | |
], |
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
var async = require("async"), | |
github = new (require("github").GitHubApi)(), | |
users = github.getUserApi(), | |
names = require("./femalenames").slice(0, 50), | |
cradle = require("cradle"), | |
fs = require("fs"); | |
var toFollow = []; | |
function dateAgo(daysAgo) { |