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
--- file_manager_orig.py 2009-05-23 23:01:26.000000000 -0400 | |
+++ file_manager.py 2009-05-21 19:03:01.000000000 -0400 | |
@@ -639,7 +639,7 @@ class FileManager(object): | |
name = os.path.join('vendor/%s' % vendor, name) | |
signature = sign_file(file_path) | |
_signatures[name] = signature | |
- _attachments[name] = open(file_path, 'rb') | |
+ _attachments[name] = file_path | |
# detect attachments to be removed and keep |
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
Erlang (BEAM) emulator version 5.6.5 [source] [async-threads:0] [hipe] [kernel-poll:true] | |
Eshell V5.6.5 (abort with ^G) | |
1> Apache CouchDB 0.10.0a (LogLevel=error) is starting. | |
Apache CouchDB has started. Time to relax. | |
[error] [<0.63.0>] {error_report,<0.22.0>, | |
{<0.63.0>,crash_report, | |
[[{pid,<0.63.0>}, | |
{registered_name,[]}, | |
{error_info, |
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
%%% File : chash_example.erl | |
%%% Author : Benjamin Browning <ben324@gmail.com> | |
%%% Description : Simple example demonstrating usage of chash | |
%%% Created : 12 Jul 2009 by Benjamin Browning <ben324@gmail.com> | |
-module(chash_example). | |
-export([test/0]). | |
test() -> | |
crypto:start(), |
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
function(doc) { | |
var date = new Date(doc.timestamp * 1000); | |
emit([date.getFullYear(), date.getMonth(), date.getDay()], null); | |
} |
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
class Chef | |
class Recipe | |
# Shortcut for getting a hash of internal hosts and their ips | |
def internal_hosts | |
hosts = {} | |
search(:node, "*") do |server| | |
# on rackspace eth1 is internal | |
server_ips = server["network"]["interfaces"]["eth1"]["addresses"] | |
internal_ip = server["ipaddress"] | |
server_ips.each_pair do |addr_key, addr_value| |
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
%% Loading Erlang map/reduce modfuns into a running Riak cluster | |
%% | |
%% Run this code from an Erlang node that can communicate with your Riak cluster. | |
%% If Riak was installed from the .deb package here's an example of launching | |
%% such a node from the same host: | |
%% /usr/lib/riak/erts-5.7.4/bin/erl -name client@127.0.0.1 -setcookie riak | |
% RiakNode can be any of the nodes in your Riak cluster | |
RiakNode = 'riak@127.0.0.1'. | |
% Get the ring for the running cluster |
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
20:57:38,013 INFO [RubyRuntimeFactoryImpl] JRUBY_HOME=/Users/bbrowning/src/torquebox/assemblage/assembly/target/stage/torquebox-1.0.0.Beta21/jruby | |
20:57:40,622 INFO [vfs:/Users/bbrowning/src/ctjr/] Initializing runtime for Rails | |
20:57:43,388 INFO [STDOUT] set_root_path! to vfs:/Users/bbrowning/src/ctjr | |
20:57:43,447 INFO [STDOUT] set_root_path! to vfs:/Users/bbrowning/src/ctjr | |
20:57:59,945 INFO [STDOUT] Configuration file, vfs:/Users/bbrowning/src/ctjr/config/compass.rb, not found or not readable. | |
20:57:59,945 INFO [STDOUT] /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/compass-0.10.2/lib/compass/configuration/serialization.rb:32:in `_parse' | |
20:57:59,945 INFO [STDOUT] /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/compass-0.10.2/lib/compass/configuration/serialization.rb:13:in `new_from_file' | |
20:57:59,946 INFO [STDOUT] /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/compass-0.10.2/lib/compass/configuration/helpers.rb:39:in `configuration_for' | |
20:57:59,946 INFO [STDOUT] /Users/bbrowning/.rvm/gems/jruby-1.5.1/gem |
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
10:01:31,729 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | |
10:01:31,901 INFO [xnio] XNIO Version 2.1.0.CR2 | |
10:01:31,910 INFO [nio] XNIO NIO Implementation Version 2.1.0.CR2 | |
10:01:32,112 INFO [remoting] JBoss Remoting version 3.1.0.Beta2 | |
10:01:32,201 ERROR [AbstractKernelController] Error installing to Parse: name=vfs:///Users/bbrowning/src/ctjr/ state=PreParse mode=Manual requiredState=Parse: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///Users/bbrowning/src/ctjr/ | |
at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.Alpha6] | |
at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.Alpha6] | |
at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha6] | |
at org.jboss.deploye |
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
09:17:18,270 INFO [vfs:/Users/bbrowning/src/ctjr/] Initializing runtime for Rails | |
09:17:21,109 INFO [STDOUT] set_root_path! to vfs:/Users/bbrowning/src/ctjr | |
09:17:21,157 INFO [STDOUT] set_root_path! to vfs:/Users/bbrowning/src/ctjr | |
09:17:37,444 INFO [STDOUT] Configuration file, vfs:/Users/bbrowning/src/ctjr/config/compass.rb, not found or not readable. | |
09:17:37,445 INFO [STDOUT] /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/compass-0.10.2/lib/compass/configuration/serialization.rb:32:in `_parse' | |
09:17:37,445 INFO [STDOUT] /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/compass-0.10.2/lib/compass/configuration/serialization.rb:13:in `new_from_file' | |
09:17:37,445 INFO [STDOUT] /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/compass-0.10.2/lib/compass/configuration/helpers.rb:39:in `configuration_for' | |
09:17:37,445 INFO [STDOUT] /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/compass-0.10.2/lib/compass/configuration/helpers.rb:83:in `add_project_configuration' | |
09:17:37,445 INFO [STDOUT] vfs:/Users/bbrowning/src/ctjr/co |
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
bbrowning@bbrowning-mbp:~/src/ctjr(TB_Beta21)$ rake | |
(in /Users/bbrowning/src/ctjr) | |
/Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/org.torquebox.torquebox-messaging-client-1.0.0.beta21-java/lib/torquebox/messaging/ext/javax_jms_session.rb:31:in `require': cannot load Java class javax.jms.Session (NameError) | |
from /Users/bbrowning/.rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
from /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/activesupport-2.3.8/lib/active_support/dependencies.rb:158:in `require' | |
from /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/org.torquebox.torquebox-messaging-client-1.0.0.beta21-java/lib/torquebox/messaging/client.rb:2 | |
from /Users/bbrowning/.rvm/gems/jruby-1.5.1/gems/org.torquebox.torquebox-messaging-client-1.0.0.beta21-java/lib/torquebox/messaging/client.rb:31:in `require' | |
from /Users/bbrowning/.rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
from /Users/bbrowning/.r |