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'), | |
httpProxy = require('http-proxy'), | |
SocksProxyAgent = require('socks-proxy-agent'); | |
var socksagent = new SocksProxyAgent('socks://127.0.0.1:9050'); // hangs | |
var httpagent = new http.Agent(); // works great | |
var proxy = httpProxy.createServer({ | |
target:'http://mnultimate.org', | |
'agent': httpagent |
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
// | |
// DeepCopy.h | |
// | |
// | |
#import <Foundation/Foundation.h> | |
// Deep -copy and -mutableCopy methods for NSArray and NSDictionary | |
@interface NSArray (DeepCopy) |