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
use strict; | |
use IO::Socket::INET; | |
sub socketConnect { | |
my ($localPort) = @_; | |
my $err; | |
my $sock = IO::Socket::INET | |
->new(PeerAddr => '127.0.0.1', | |
PeerPort => '63300', |
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
#!/bin/sh | |
# start Firefox with disposable profiles on osx | |
# usage: start-ff.sh profilename Firefox.app | |
# start-ff.sh profilename Aurora.app | |
# start-ff.sh profilename Nightly.app | |
PROFILE_NAME=abcabdab-sync1 | |
if [ ! -z "$1" ]; then | |
PROFILE_NAME=$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/bin/verifier b/bin/verifier | |
index 1c108fd..d04c6d2 100755 | |
--- a/bin/verifier | |
+++ b/bin/verifier | |
@@ -61,6 +61,24 @@ if (statsd_config && statsd_config.enabled) { | |
app.use(express.bodyParser()); | |
+app.error(function(err, req, resp, next) { | |
+ if (!err) return next(); |
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 fs = require('fs'); | |
var crypto = require('crypto'); | |
var targetSha = '25f7bcf998cc3747cad755d53dec4c6698aad834'; | |
var candidates = { | |
includeJs_2425cff7: { | |
filename: 'whatis-25f7bcf.at.2425cff7aeb9c8d4b4b930168d341e3b401a4d89', | |
knownSha: '7b7d2e96f46271f79a83395ed1486a69c2135d89', | |
}, |
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/lib/wsapi_client.js b/lib/wsapi_client.js | |
index 3531810..ad9ea09 100644 | |
--- a/lib/wsapi_client.js | |
+++ b/lib/wsapi_client.js | |
@@ -13,8 +13,26 @@ const | |
http = require('http'), | |
https = require('https'), | |
url = require('url'), | |
-querystring = require('querystring'), | |
-version = require('./version.js'); |
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 node | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
// This test is only intended for occasional use to confirm the actual browser | |
// userAgent and OS. Useful in checking changes to sauce-platforms.js. | |
const |
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/server/lib/passport_yahoo.js b/server/lib/passport_yahoo.js | |
index 2b4d7fb..9cac18c 100644 | |
--- a/server/lib/passport_yahoo.js | |
+++ b/server/lib/passport_yahoo.js | |
@@ -71,7 +71,15 @@ exports.views = function(app) { | |
session.clearBidUrl(req); | |
session.setCurrentUser(req, email); | |
- res.redirect(redirect_url); | |
+ if (config.get('env') === 'production') { |
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 node | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
var client = require('../lib/wsapi_client.js'); | |
var optimist = require('optimist'); | |
var path = require('path'); | |
var urlparse = require('urlparse'); |
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 node | |
const fs = require('fs'); | |
const rimraf = require('rimraf'); // XXX remove this dependency | |
const format = require('util').format; | |
function createAliases(loadBalancers, targetDirectory) { | |
var aliases = {}; | |
Object.keys(loadBalancers).forEach(function(key) { | |
var lb = loadBalancers[key]; |
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
{ | |
"domains": { | |
/* | |
"browserid.org": [ | |
"browserid-org-0520-1279444257.us-east-1.elb.amazonaws.com" | |
], | |
"www.browserid.org": [ | |
"browserid-org-0520-1279444257.us-east-1.elb.amazonaws.com" | |
], | |
*/ |