This file contains hidden or 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/test/connector/agent-test.js b/test/connector/agent-test.js | |
index 809b121..2bcfd6d 100644 | |
--- a/test/connector/agent-test.js | |
+++ b/test/connector/agent-test.js | |
@@ -183,7 +183,7 @@ function shouldHaveOptions(setOptions) { | |
tests['should have host option'] = function(connector) { | |
var host = options.host || options.url && urlData.hostname || defaultOptions.host; | |
assert.strictEqual(connector.host, host); | |
- if (!options.agent) assert.strictEqual(connector.agent.host, host); | |
+ if (!options.agent) assert.strictEqual(connector.host, host); |
This file contains hidden or 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
/Users/slaskis/Desktop/Ideas/nodepress/node_modules/npm/lib/cache.js:212 | |
var p = url.parse(spec.replace(/^git\+/, "git")) || {} | |
^ | |
TypeError: Object #<Object> has no method 'replace' | |
at add (/Users/slaskis/Desktop/Ideas/nodepress/node_modules/npm/lib/cache.js:212:26) | |
at Function.add (/Users/slaskis/Desktop/Ideas/nodepress/node_modules/npm/lib/cache.js:174:10) | |
at shouldUpdate (/Users/slaskis/Desktop/Ideas/nodepress/node_modules/npm/lib/outdated.js:141:9) | |
at /Users/slaskis/Desktop/Ideas/nodepress/node_modules/npm/lib/outdated.js:115:7 | |
at /Users/slaskis/Desktop/Ideas/nodepress/node_modules/npm/node_modules/slide/lib/async-map.js:54:35 | |
at Array.forEach (native) |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Testing!</title> | |
</head> | |
<body> | |
<div id="main"> | |
<form action="/" method="post"> | |
<div class="error-field"> | |
<input type="email" name="user[wrap_me]" placeholder="Enter your email" required class="hello"> |
This file contains hidden or 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
# In spree/promo/lib/spree_promo.rb | |
next if current_promotions.present? && !promotion.combine? | |
amount = promotion.calculator.compute(self).abs | |
amount = item_total if amount > item_total | |
- if amount > 0 | |
+ if amount > 0 && !promotion_credit_exists?(promotion) | |
self.promotion_credits.create( | |
:source => promotion, | |
:amount => -amount, |
This file contains hidden or 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
Error: Socket is not writable | |
at Socket._writeOut (net.js:391:11) | |
at Socket.write (net.js:377:17) | |
at Master.<anonymous> (/home/node/node-service/releases/20110711115349/node_modules/cluster/lib/master.js:226:13) | |
at Master.call (/home/node/node-service/releases/20110711115349/node_modules/cluster/lib/worker.js:73:17) | |
at HTTPServer.<anonymous> (/home/node/node-service/releases/20110711115349/node_modules/cluster/lib/plugins/stats.js:72:18) | |
at HTTPServer.emit (events.js:81:20) | |
at HTTPParser.onIncoming (http.js:1109:12) | |
at HTTPParser.onHeadersComplete (http.js:108:31) | |
at Socket.ondata (http.js:1008:22) |
This file contains hidden or 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 -ruN proxychains-3.1/proxychains/Makefile.in proxychains-3.1_resolv/proxychains/Makefile.in | |
--- proxychains-3.1/proxychains/Makefile.in 2006-03-15 10:16:59.000000000 -0600 | |
+++ proxychains-3.1_resolv/proxychains/Makefile.in 2011-06-16 13:17:20.000000000 -0500 | |
@@ -121,7 +121,7 @@ | |
LIBS = @LIBS@ | |
libproxychains_la_DEPENDENCIES = | |
libproxychains_la_OBJECTS = libproxychains.lo core.lo | |
-CFLAGS = @CFLAGS@ | |
+CFLAGS = @CFLAGS@ -arch x86_64 -arch i386 | |
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
This file contains hidden or 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
require "rubygems" | |
require "datamapper" | |
DataMapper::Logger.new(STDOUT,:debug) | |
DataMapper.setup(:default, "sqlite3::memory:") | |
#DataMapper.setup(:default, "postgres://localhost/dm-test") | |
class Entry | |
include DataMapper::Resource |
This file contains hidden or 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
/*! | |
* Express - router - methods | |
* Copyright(c) 2010 TJ Holowaychuk <[email protected]> | |
* MIT Licensed | |
*/ | |
/** | |
* Hypertext Transfer Protocol -- HTTP/1.1 | |
* http://www.ietf.org/rfc/rfc2616.txt | |
*/ |
This file contains hidden or 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
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script> | |
<script>var jq13 = jQuery.noConflict()</script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> | |
<script>var jq152 = jQuery.noConflict()</script> | |
<script> | |
jq152(function($){ | |
// Using 1.5.2 | |
}) | |
jq13(function($){ |
This file contains hidden or 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") | |
, cp = require("child_process"); | |
var t1 = fs.createReadStream("./explode_problem.jpg"); | |
t1.pause() | |
var t2 = fs.createReadStream("./explode_problem.jpg"); | |
t2.pause() | |
var proc = cp.spawn("identify",["-"]) | |
proc.stdout.pipe(process.stdout) |