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
rvm install rbx | |
rvm use rbx | |
gem install bundler |
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
kay.roepke@nb-kroepke:~/projects/graylog2/graylog2-server (develop)$ git diff --cached --stat | |
src/main/java/org/graylog2/Configuration.java | 8 + | |
src/main/java/org/graylog2/GraylogServer.java | 298 ++++++++++++++++++++ | |
src/main/java/org/graylog2/Main.java | 269 +----------------- | |
src/main/java/org/graylog2/ServerValue.java | 41 +-- | |
.../java/org/graylog2/blacklists/Blacklist.java | 10 +- | |
.../org/graylog2/blacklists/BlacklistCache.java | 17 ++ | |
.../java/org/graylog2/database/MongoBridge.java | 28 +- | |
.../org/graylog2/database/MongoConnection.java | 150 ++++++---- | |
src/main/java/org/graylog2/indexer/Indexer.java | 45 +-- |
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
2012-03-07 12:17:32,922 INFO : org.elasticsearch.cluster.service - [Gin Genie] detected_master [Ego the Living Planet][V_WElj-SQb-RyKHi_ZcuZA][inet[/172.24.0.14:9300]], added {[Ego the Living Planet][V_WElj-SQb-RyKHi_ZcuZA][inet[/172.24.0.14:9300]],}, reason: zen-disco-receive(from master [[Ego the Living Planet][V_WElj-SQb-RyKHi_ZcuZA][inet[/172.24.0.14:9300]]]) | |
2012-03-07 12:17:32,925 DEBUG: org.elasticsearch.cluster.service - [Gin Genie] processing [zen-disco-receive(from master [[Ego the Living Planet][V_WElj-SQb-RyKHi_ZcuZA][inet[/172.24.0.14:9300]]])]: done applying updated cluster_state | |
2012-03-07 12:17:32,925 TRACE: org.elasticsearch.discovery - [Gin Genie] initial state set from discovery | |
2012-03-07 12:17:32,925 INFO : org.elasticsearch.discovery - [Gin Genie] kaygray/bifnlGjMTuak7j2e2SPZwQ | |
2012-03-07 12:17:32,929 INFO : org.elasticsearch.http - [Gin Genie] bound_address {inet[/0.0.0.0:9201]}, publish_address {inet[/172.24.0.14:9201]} | |
2012-03-07 12:17:32,929 INFO : org.elasticsearch.node - [Gin Genie |
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
[master] kay.roepke@/usr/local/bin: cat git-stauts | |
#!/bin/sh | |
gti status $@ |
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
Exception in thread "elasticsearch[Diamanda Nero][merge][T#2]" java.lang.NoSuchMethodError: org.apache.lucene.index.IndexWriter.getConfig()Lorg/apache/lucene/index/IndexWriterConfig; | |
at org.elasticsearch.index.merge.scheduler.ConcurrentMergeSchedulerProvider$CustomConcurrentMergeScheduler.merge(ConcurrentMergeSchedulerProvider.java:93) | |
at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:1816) | |
at org.apache.lucene.index.IndexWriter.maybeMerge(IndexWriter.java:1810) | |
at org.elasticsearch.index.engine.robin.RobinEngine.maybeMerge(RobinEngine.java:987) | |
at org.elasticsearch.index.shard.service.InternalIndexShard$EngineMerger$1.run(InternalIndexShard.java:779) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) | |
at java.lang.Thread.run(Thread.java:680) | |
Exception in thread "elasticsearch[Diamanda Nero][refresh][T#2]" java.lang.NoSuchMethodError: org.apache.lucene.index.IndexWrite |
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
develop nb-kroepke:graylog2-web-interface $ git diff Gemfile | |
diff --git a/Gemfile b/Gemfile | |
index 5d99213..9e72850 100644 | |
--- a/Gemfile | |
+++ b/Gemfile | |
@@ -16,7 +16,13 @@ gem 'SystemTimer', '~> 1.2.3', :require => 'system_timer', :platforms => :ruby_1 | |
gem 'rails_autolink', '~> 1.0.4' | |
gem 'kaminari', '~> 0.12.4' | |
gem 'jquery-rails', '~> 2.1' | |
-gem 'therubyracer', '~> 0.10.2' |
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
var Routes = (function() { | |
var _ = {}, ctor = function(){}; | |
_.bind = function bind(func, context) { | |
var bound, args, slice = Array.prototype.slice; | |
args = slice.call(arguments, 2); | |
return bound = function() { | |
if (!(this instanceof bound)) return func.apply(context, args.concat(slice.call(arguments))); | |
ctor.prototype = func.prototype; | |
var self = new ctor; | |
var result = func.apply(self, args.concat(slice.call(arguments))); |
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 renderElement(page, selector) { | |
var prevClipRect = page.clipRect; | |
page.clipRect = page.evaluate(function(selector) { | |
return document.querySelector(selector).getBoundingClientRect(); | |
}, selector); | |
var pic = page.renderBase64('png'); | |
page.clipRect = prevClipRect; |
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
Server started with: | |
./src/redis-server --save "" # to disable background saves | |
with CONFIG SET pub-expires "no" | |
test-4.experimental.fra2:~/redis # for i in 1 2 3; do ./src/redis-benchmark -r 10000000 -t setex -e 1 -n 1000000 --csv ; done | |
"SET","54424.73" | |
"SET","52988.55" | |
"SET","53853.20" |
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
$ curl -XGET http://localhost:12900/system/jvm | |
Jul 07, 2013 6:28:32 PM org.jboss.netty.channel.SimpleChannelUpstreamHandler | |
WARNING: EXCEPTION, please implement org.graylog2.jersey.container.netty.NettyContainer.exceptionCaught() for proper handling. | |
java.lang.NullPointerException | |
at org.graylog2.jersey.container.netty.NettyContainer.messageReceived(NettyContainer.java:120) | |
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) | |
at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459) | |
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536) | |
at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435) |
OlderNewer