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 mcamou on github. | |
* I am mcamou (https://keybase.io/mcamou) on keybase. | |
* I have a public key whose fingerprint is 6923 124D 0475 7E5E 5B49 5657 8640 C728 35D2 7E03 | |
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
$ bin/mvn clean install | |
[INFO] Scanning for projects... | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Blue Mountain Client | |
[INFO] task-segment: [clean, install] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] [clean:clean {execution: default-clean}] | |
[INFO] Deleting directory /Users/mario/Desktop/abstra.cc/projects/BMClient/target | |
[INFO] [jruby-rake:rake {execution: clobber}] | |
[INFO] rake already installed |
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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>cc.abstra.scuby</groupId> | |
<artifactId>scuby</artifactId> | |
<packaging>jar</packaging> | |
<version>0.1-SNAPSHOT</version> | |
<name>Scuby</name> | |
<url>http://abstra.cc</url> | |
<inceptionYear>2009</inceptionYear> |
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
require 'rubygems' | |
require 'rake' | |
require 'rake/clean' | |
require 'rake/rdoctask' | |
require 'rake/testtask' | |
require 'spec/rake/spectask' | |
REQUIRED_GEMS = [ | |
'ci_reporter', | |
'activesupport', |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>cc.abstra.bluemountain.client</groupId> | |
<artifactId>client</artifactId> | |
<packaging>jar</packaging> | |
<version>0.1</version> | |
<name>Blue Mountain Client</name> | |
<url>http://abstra.cc</url> | |
<inceptionYear>2009</inceptionYear> |
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
Thread.java:1460:in `getStackTrace': exception object expected (TypeError) | |
from RubyException.java:139:in `setBacktraceFrames' | |
from RaiseException.java:171:in `setException' | |
from RaiseException.java:73:in `<init>' | |
from Ruby.java:3080:in `newRaiseException' | |
from Ruby.java:2936:in `newTypeError' | |
from RubyKernel.java:884:in `raise' | |
from KernelJavaAddons.java:26:in `rbRaise' | |
from org/jruby/java/addons/KernelJavaAddons$s_method_0_3$RUBYFRAMEDINVOKER$rbRaise.gen:-1:in `call' | |
from DynamicMethod.java:188:in `call' |
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: NilClass" | |
"eql: true" | |
"equal: true" | |
"==: true" | |
"class: Symbol" | |
"eql: false" | |
"equal: false" | |
"==: false" | |
"class: Array" | |
"eql: false" |
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: NilClass" | |
"eql: true" | |
"equal: true" | |
"==: true" | |
"NilClass hash: 11, contents.class.hash: 11" | |
"class: Symbol" | |
"eql: false" | |
"equal: false" | |
"==: false" | |
"NilClass hash: 11, contents.class.hash: 25" |
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
$ ruby --version | |
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10] | |
$ irb | |
irb(main):001:0> f = File.new("/tmp/x") | |
=> #<File:/tmp/x> | |
irb(main):002:0> f.flock(File::LOCK_EX) | |
=> 0 | |
$ java -jar jruby-complete-1.6.2.jar -S irb |
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
import akka.amqp._ | |
import AMQP._ | |
... | |
val connection = AMQP.newConnection(ConnectionParameters(host = Config.amqpHost, | |
port = Config.amqpPort, | |
virtualHost = Config.amqpVhost, | |
username = Config.amqpUser, | |
password = Config.amqpPasword, |
OlderNewer