Skip to content

Instantly share code, notes, and snippets.

View aperiodic's full-sized avatar

Dan Lidral-Porter aperiodic

  • BlackBerry
  • Seattle, WA
View GitHub Profile
@aperiodic
aperiodic / gist:1013156
Created June 7, 2011 21:02
Error output for 'whirr launch-cluster --config hbase-ec2.properties'
Exception in thread "main" com.google.common.collect.ComputationException: com.google.inject.ProvisionException: Guice provision errors:
1) Error in custom provider, org.jclouds.http.HttpResponseException: command: POST https://ec2.us-east-1.amazonaws.com/ HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [Request has expired. Timestamp date is 2011-06-04T16:26:33.536Z]
while locating org.jclouds.ec2.config.EC2RestClientModule$RegionIdsToURI
at org.jclouds.aws.config.AWSRestClientModule.bindRegionsToProvider(AWSRestClientModule.java:105)
while locating java.util.Map<java.lang.String, java.net.URI> annotated with @org.jclouds.location.Region()
at org.jclouds.aws.config.AWSRestClientModule.provideRegions(AWSRestClientModule.java:113)
at org.jclouds.aws.config.AWSRestClientModule.provideRegions(AWSRestClientModule.java:113)
while locating java.util.Set<java.lang.String> annotated with @org.jclouds.location.Region()
for parameter 0 at org.jclouds.aws.ec2.compute.suppliers.AWSRegio
@aperiodic
aperiodic / gist:1013162
Created June 7, 2011 21:04
hbase-ec2.properties
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
@aperiodic
aperiodic / .htaccess
Created June 27, 2011 18:25
Simple htaccess test
<Files ~ ".*foo$">
order allow,deny
deny from all
</Files>
@aperiodic
aperiodic / gist:1055228
Created June 29, 2011 23:01
Failed Node Build Attempt
dlp@sax:~/code$ git clone --depth 1 https://github.com/joyent/node.git
Initialized empty Git repository in /home/dlp/code/node/.git/
remote: Counting objects: 17567, done.
remote: Compressing objects: 100% (6871/6871), done.
remote: Total 17567 (delta 14313), reused 12979 (delta 10435)
Receiving objects: 100% (17567/17567), 20.30 MiB | 644 KiB/s, done.
Resolving deltas: 100% (14313/14313), done.
dlp@sax:~/code$ cd node/
dlp@sax:~/code/node$ ./configure
Checking for program g++ or c++ : /usr/bin/g++
@aperiodic
aperiodic / gist:1068284
Created July 6, 2011 20:47
lein run flush error
Exception in thread "main" java.lang.IllegalArgumentException: Wrong number of args (1) passed to: arrange$destroy-tables (NO_SOURCE_FILE:1)
at clojure.lang.Compiler.eval(Compiler.java:5440)
at clojure.lang.Compiler.eval(Compiler.java:5415)
at clojure.lang.Compiler.eval(Compiler.java:5391)
at clojure.core$eval.invoke(core.clj:2382)
at clojure.main$eval_opt.invoke(main.clj:235)
at clojure.main$initialize.invoke(main.clj:254)
at clojure.main$null_opt.invoke(main.clj:279)
at clojure.main$main.doInvoke(main.clj:354)
at clojure.lang.RestFn.invoke(RestFn.java:421)
@aperiodic
aperiodic / gist:1068347
Created July 6, 2011 21:19
wordsplitter bad config stacktrace
Traceback (most recent call last):
File "wordsplit.py", line 46, in <module>
line=pipeline)
File "/home/ubuntu/contrivance/jigbee/topic/gateway.py", line 131, in get_raw_documents
for msgBundle in self.recv:
File "/home/ubuntu/contrivance/jigbee/topic/queues.py", line 19, in next
items = [self.redis.brpop(self.queue)]
File "/usr/local/lib/python2.6/dist-packages/redis-2.4.5-py2.6.egg/redis/client.py", line 553, in brpop
return self.execute_command('BRPOP', *keys)
File "/usr/local/lib/python2.6/dist-packages/redis-2.4.5-py2.6.egg/redis/client.py", line 238, in execute_command
@aperiodic
aperiodic / gist:1119130
Created August 1, 2011 22:17
Vows Asynchronous Export Error
var assert = require('assert');
var exec = require('child_process').exec;
var vows = require('vows');
var exportTests = function () {
var batch = {
'When the tests are exported asynchronously': {
topic: function () { return 42; },
'they actually run': function (val) { assert.equal(val, 42); }
@aperiodic
aperiodic / gist:1179892
Created August 30, 2011 01:20
Zookeeper Error
11/08/29 18:19:55 WARN zookeeper.ClientCnxn: Ignoring exception during shutdown output
java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.shutdownOutput(SocketChannelImpl.java:642)
at sun.nio.ch.SocketAdaptor.shutdownOutput(SocketAdaptor.java:368)
at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1004)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
@aperiodic
aperiodic / gist:1217659
Created September 14, 2011 20:19
Curry.js test error
[dlp@Hackworth:curry]$ expresso test/curry.expresso.js
uncaught: Error: Cannot find module 'curry'
at Function._resolveFilename (module.js:317:11)
at Function._load (module.js:262:25)
at require (module.js:346:19)
at Object.<anonymous> (/Users/dlp/code/opensource/curry/test/curry.expresso.js:2:13)
at Module._compile (module.js:402:26)
at Object..js (module.js:408:10)
at Module.load (module.js:334:31)
@aperiodic
aperiodic / gist:1217674
Created September 14, 2011 20:23
Curry module `npm test` output
npm ERR! curry@0.0.3 test: `synct test/*.js`
npm ERR! `sh "-c" "synct test/*.js"` failed with 127
npm ERR!
npm ERR! Failed at the curry@0.0.3 test script.
npm ERR! This is most likely a problem with the curry package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! synct test/*.js
npm ERR! You can get their info via:
npm ERR! npm owner ls curry