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
#ifndef RBIGNUM_SIGN // Ruby 1.8 | |
#define RBIGNUM_SIGN(b) (RBIGNUM(b)->sign) | |
#endif | |
static VALUE MessagePack_Bignum_to_msgpack(int argc, VALUE *argv, VALUE self) | |
{ | |
ARG_BUFFER(out, argc, argv); | |
// FIXME bignum | |
if(RBIGNUM_SIGN(self)) { // positive |
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/bcg/.rvm/rubies/ruby-1.8.6-p399/bin/ruby -S rake -r /Volumes/Telluride/trees/rubinius/rakelib/ext_helper.rb -r /Volumes/Telluride/trees/rubinius/rakelib/dependency_grapher.rb build:mri | |
(in /Volumes/Telluride/trees/rubinius/lib/ext/melbourne) | |
Building Melbourne for MRI | |
LDSHARED ruby/melbourne.bundle | |
ld: library not found for -lruby-static | |
collect2: ld returned 1 exit status | |
rake aborted! | |
Command failed with status (1): [g++ -dynamic -bundle -undefined suppress -flat_namespace -lstdc++ ruby/bstrlib.o ruby/grammar.o ruby/melbourne.o ruby/node_types.o ruby/quark.o ruby/symbols.o ruby/var_table.o ruby/visitor.o -dynamic -bundle -undefined suppress -flat_namespace -L. -lruby-static -L. -ldl -lobjc -o ruby/melbourne.bundle > /dev/null] | |
(See full trace by running task with --trace) |
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 /Volumes/Telluride/trees/rubinius/lib/ext/melbourne) | |
Building Melbourne for MRI | |
CXX bstrlib.c | |
CXX grammar.cpp | |
CXX melbourne.cpp | |
CXX node_types.cpp | |
CXX quark.cpp | |
CXX symbols.cpp | |
CXX var_table.cpp | |
CXX visitor.cpp |
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
/Volumes/Stuff/vessel-vala/ext/libmemcached/libmemcached_test.c: In function ‘_vala_main’: | |
/Volumes/Stuff/vessel-vala/ext/libmemcached/libmemcached_test.c:23: error: too many arguments to function ‘memcached_server_list_append’ | |
error: cc exited with status 256 | |
Compilation failed: 1 error(s), 0 warning(s) | |
make: *** [all] Error 1 |
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
bcg:~ $ ktserver '*' | |
2010-10-09T09:23:35.495177-05:00: [SYSTEM]: ================ [START]: pid=10572 | |
2010-10-09T09:23:35.496495-05:00: [SYSTEM]: opening a database: path=* | |
2010-10-09T09:23:35.496622-05:00: [SYSTEM]: starting the server | |
2010-10-09T09:23:35.496695-05:00: [SYSTEM]: server socket opened: expr=:1978 timeout=30.0 | |
2010-10-09T09:23:35.496720-05:00: [SYSTEM]: listening server socket started: fd=3 | |
... In another Term | |
bcg:~ $ ktremotemgr set key1 val1 |
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
#!/usr/bin/env node | |
var net = require('net'), | |
stomp = require('../lib/stomp'); | |
net.createServer(function (stream) { | |
stomp.createBroker(stream, function(proto) { | |
proto.on('send', function(queue, message) { | |
console.log('send: ' + queue + " " + message); | |
}); |
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
#!/usr/bin/env node | |
var net = require('net'); | |
var util = require('util'); | |
var stomp = require('../lib/stomp'); | |
var subscriptions = new stomp.Subscriptions(); | |
var mqueues = new stomp.MemoryQueues(); | |
net.createServer(function (stream) { |
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
#!/usr/bin/env node | |
var net = require('net'), | |
util = require('util'), | |
stomp = require('stomped'); | |
var args = process.argv.slice(2); | |
var test_queue = args[0] || "q"; | |
var message_count = 0; |
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
describe Telluride::Core::Drivers::SerfCity do | |
include EM::SpecHelper | |
before(:all) do | |
Integrator(:redis).start | |
end | |
after(:all) do | |
Inegrator(:redis).stop |
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 'em-zeromq' | |
Thread.abort_on_exception = true | |
EM.run do | |
ctx = EM::ZeroMQ::Context.new(1) | |
socket = ctx.connect( ZMQ::PUSH, 'tcp://127.0.0.1:15000') | |
loop do # ZOMG you are blocking!? |
OlderNewer