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
location / { | |
proxy_pass http://localhost:5984; | |
proxy_redirect off; | |
proxy_set_header Host $host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
} | |
location /firefox/newFailures { | |
set $p "http://localhost:5984/firefox/_design/failures/_list/newFailures/newFailures"; |
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
ld: warning: in /Users/mikeal/Documents/git/couchdb/dependencies/otp_src_R13B02-1/erts/emulator/zlib/obj/i386-apple-darwin10.2.0/opt/libz.a, file is not of required architecture | |
ld: warning: in /Users/mikeal/Documents/git/couchdb/dependencies/otp_src_R13B02-1/erts/emulator/pcre/obj/i386-apple-darwin10.2.0/opt/libepcre.a, file is not of required architecture | |
Undefined symbols: | |
"_deflate", referenced from: | |
_erl_zlib_compress2 in erl_zlib.o | |
_erts_gzdeflate_buffer in gzio.o | |
_erts_gzflush in gzio.o | |
_erts_gzwrite in gzio.o | |
_zlib_ctl in zlib_drv.o | |
_zlib_ctl in zlib_drv.o |
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 datetime import datetime | |
import os, sys | |
import json | |
import simplejson | |
import cjson | |
import jsonlib2 | |
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
{"_id":"00f67c9ddb85fb7c0a16c2db6eab6687","_rev":"1-044b6aceccfb72c81a95ca9f74089081","type":"failure-info","fails":{"tests/layout/reftests/bugs/9458-basic-1.html":{"lastsuccess":null,"firstfailed":{"product":"Fennec","os":"Maemo","timestamp":"2009-11-19 15:47:40.932464","_rev":"1-bc6fe18e564b8ef57ce65c69a8dd8355","tinderboxID":"1258652821.1258666170.3186.gz","fail_count":250,"build":"20091119084738","type":"test-run","pass_count":3418,"_id":"4f1ebaa66e804b642920025ba87dc088","testtype":"reftest"}},"tests/layout/reftests/backgrounds/continuous-inline-5b.html":{"lastsuccess":null,"firstfailed":{"product":"Fennec","os":"Maemo","timestamp":"2009-11-19 15:47:40.932464","_rev":"1-bc6fe18e564b8ef57ce65c69a8dd8355","tinderboxID":"1258652821.1258666170.3186.gz","fail_count":250,"build":"20091119084738","type":"test-run","pass_count":3418,"_id":"4f1ebaa66e804b642920025ba87dc088","testtype":"reftest"}},"tests/layout/reftests/generated-content/dynamic-attr-01.html":{"lastsuccess":null,"firstfailed":{"product":"Fennec"," |
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
<html> | |
<head><title>JSON Performance in Python</title></head> | |
<body> | |
<h2>JSON Performance in Python</h2> | |
<style type="text/css"> | |
body { | |
color:#222222; | |
font-family:"Sabon LT Std","Hoefler Text","Palatino Linotype","Book Antiqua",serif; | |
font-size:18px; | |
background-color:#E5E5E5; |
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'), | |
sys = require('sys'), | |
path = require('path'), | |
posix = require('posix'), | |
events = require('events'); | |
var listdir = function (pathname) { | |
var p = new events.Promise(); | |
var ls = process.createChildProcess("ls", [pathname]); | |
ls.addListener("output", function (data) { |
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 posix = require('posix'), | |
sys = require('sys'); | |
posix.cat('package.json').addCallback(function(data){sys.puts(data);JSON.parse(data)}) |
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 couchapp = require('../lib/couchapp.js'); | |
ddoc = {"views":{}} | |
exports.app = ddoc; | |
ddoc.views.simple = { | |
map: function (doc) {emit(doc._id, null)} | |
} | |
ddoc.views.simpleReduce = { | |
map: function (doc) {emit(doc._id, 1)}, |
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/mozmill/__init__.py b/mozmill/__init__.py | |
index 7b23bb3..6bf7d6f 100644 | |
--- a/mozmill/__init__.py | |
+++ b/mozmill/__init__.py | |
@@ -21,6 +21,7 @@ | |
# Contributor(s): | |
# Mikeal Rogers <mikeal.rogers@gmail.com> | |
# Henrik Skupin <hskupin@mozilla.com> | |
+# Clint Talbert <ctalbert@mozilla.com> | |
# |
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 client = http.createClient(u.port || (u.protocol === "https:" ? 443 : 80), u.hostname); | |
var request = client.request("PUT", u.pathname, headers); | |
request.write(what, "utf8"); | |
request.addListener("response", function (response) { | |
if (response.statusCode !== 200) return cb(new Error( | |
"Status code " + response.statusCode + " from PUT "+where)); | |
var data = ""; | |
response | |
.setBodyEncoding("utf8") | |
.addListener("data", function (chunk) { data += chunk }) |