- #688 Fix various throttle bugs
- #691 Fix an issue where posting with text/csv content type crashes Restify
- #693 Support multiple response header values
- #704 Allow partial regex for named parameters
- #726 Allow per-request agent overrides
- #726 Ebanle
{agent: false}
option override per request
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
### Keybase proof | |
I hereby claim: | |
* I am yunong on github. | |
* I am yunong (https://keybase.io/yunong) on keybase. | |
* I have a public key whose fingerprint is 4F53 0077 A080 3662 ACD1 189F FCCF A7FF 506B 9E30 | |
To claim this, I am signing this object: |
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 infile = process.argv[2]; | |
if (!infile) return console.log("need infile"); | |
var data = fs.readFileSync(infile, 'utf8').split('\n'); | |
var outlines = []; | |
data.forEach(function(item) { |
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
// Copyright 2012 Mark Cavage, Inc. All rights reserved. | |
var EventEmitter = require('events').EventEmitter; | |
var url = require('url'); | |
var util = require('util'); | |
var assert = require('assert-plus'); | |
var deepEqual = require('deep-equal'); | |
var LRU = require('lru-cache'); | |
var Negotiator = require('negotiator'); |
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
// Copyright 2012 Mark Cavage, Inc. All rights reserved. | |
var EventEmitter = require('events').EventEmitter; | |
var url = require('url'); | |
var util = require('util'); | |
var assert = require('assert-plus'); | |
var deepEqual = require('deep-equal'); | |
var LRU = require('lru-cache'); | |
var Negotiator = require('negotiator'); |
- #688 Fix various throttle bugs
- #691 Fix an issue where posting with text/csv content type crashes Restify
- #693 Support multiple response header values
- #704 Allow partial regex for named parameters
- #726 Allow per-request agent overrides
- #726 Ebanle
{agent: false}
option override per request
- #688 Fix various throttle bugs
- #691 Fix an issue where posting with text/csv content type crashes Restify
- #693 Support multiple response header values
- #704 Allow partial regex for named parameters
- #726 Allow per-request agent overrides
- #726 Ebanle
{agent: false}
option override per request
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
# | |
# Makefile: basic Makefile for template API service | |
# | |
# This Makefile is a template for new repos. It contains only repo-specific | |
# logic and uses included makefiles to supply common targets (javascriptlint, | |
# jsstyle, restdown, etc.), which are used by other repos as well. You may well | |
# need to rewrite most of this file, but you shouldn't need to touch the | |
# included makefiles. | |
# | |
# If you find yourself adding support for new targets that could be useful for |
This file has been truncated, but you can view the full file.
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
PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUg | |
c3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3 | |
LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHZl | |
cnNpb249IjEuMSIgd2lkdGg9IjEyMDAiIGhlaWdodD0iMjc3MCIgb25sb2FkPSJp | |
bml0KGV2dCkiIHZpZXdCb3g9IjAgMCAxMjAwIDI3NzAiIHhtbG5zPSJodHRwOi8v | |
d3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMu | |
b3JnLzE5OTkveGxpbmsiPgo8ZGVmcyA+Cgk8bGluZWFyR3JhZGllbnQgaWQ9ImJh | |
Y2tncm91bmQiIHkxPSIwIiB5Mj0iMSIgeDE9IjAiIHgyPSIwIiA+CgkJPHN0b3Ag | |
c3RvcC1jb2xvcj0iI2VlZWVlZSIgb2Zmc2V0PSI1JSIgLz4KCQk8c3RvcCBzdG9w | |
LWNvbG9yPSIjZWVlZWIwIiBvZmZzZXQ9Ijk1JSIgLz4KCTwvbGluZWFyR3JhZGll |
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
# Copy node v0.12 binary to the instance | |
# from your desktop | |
scp node awsprod:/scratchdata/. | |
ssh awsprod | |
oq-scp /scratchdata/node <instance>:/tmp/. | |
# Update /apps/node/daemontools/run on the instance to use the new version of node. | |
# restart node | |
pkill node |
OlderNewer