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
| daemonize yes | |
| pidfile /var/run/redis/redis_6379.pid | |
| port 6379 | |
| timeout 0 | |
| tcp-keepalive 0 | |
| loglevel notice | |
| logfile /var/log/redis/stdout.log | |
| databases 16 | |
| save 900 1 | |
| save 300 10 |
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
| #!/bin/sh | |
| # init script for Cassandra. | |
| # chkconfig: 2345 90 10 | |
| # description: Cassandra | |
| # | |
| # Simple Redis init.d script conceived to work on Linux systems | |
| # as it does use of the /proc filesystem. | |
| REDISPORT=6379 | |
| EXEC=/usr/local/redis/bin/redis-server |
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
| #!/bin/bash | |
| # init script for Elasticsearch. | |
| # chkconfig: 2345 90 10 | |
| # description: Elasticsearch | |
| # | |
| . /etc/rc.d/init.d/functions | |
| ESEARCH_HOME=/usr/local/elasticsearch | |
| ESEARCH_BIN=$ESEARCH_HOME/bin/elasticsearch | |
| ESEARCH_LOG=/var/log/elasticsearch/elasticsearch.out |
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
| #!/bin/bash | |
| # | |
| # rabbitmq-server RabbitMQ broker | |
| # | |
| # chkconfig: - 80 05 | |
| # description: Enable AMQP service provided by RabbitMQ | |
| # | |
| ### BEGIN INIT INFO | |
| # Provides: rabbitmq-server |
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
| From 6a41e8ab17081e3a96d595981c9acd531b67ab7a Mon Sep 17 00:00:00 2001 | |
| From: Mark Triggs <mark@dishevelled.net> | |
| Date: Thu, 21 Nov 2013 12:35:00 +1100 | |
| Subject: [PATCH] Modify NormalSearcher to return URL-decoded path names. | |
| When paths contained spaces, the presence of %20 characters would cause | |
| problems further up the stack. | |
| --- | |
| core/src/main/java/org/jruby/runtime/load/LoadService.java | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
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
| From 12b3f8764cddf147ed774078add9dd544832e685 Mon Sep 17 00:00:00 2001 | |
| From: Mark Triggs <mark@dishevelled.net> | |
| Date: Sat, 23 Nov 2013 09:27:48 +1100 | |
| Subject: [PATCH] Modify LoadService.splitJarUrl to unescape URLs | |
| Resolves the issue with loading 'yaml' described in #1248 | |
| --- | |
| .../main/java/org/jruby/runtime/load/LoadService.java | 16 ++++++++++++---- | |
| 1 file changed, 12 insertions(+), 4 deletions(-) |
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
| creating perl-shared/Makefile.PL | |
| creating Makefile | |
| creating config/config.h | |
| checking in... and out again | |
| ordering CD from http://people.ee.ethz.ch/~oetiker/wish .... just | |
| kidding ;-) |
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 'net/http' | |
| require 'uri' | |
| def streaming_request(uri_s, yield_response_first = true) | |
| uri = URI(uri_s) | |
| Net::HTTP.start(uri.host, uri.port) do |http| | |
| request = Net::HTTP::Get.new(uri.request_uri) |
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 'nokogiri' | |
| class XMLRecordIterator < Nokogiri::XML::SAX::Document | |
| def initialize(split_tag, &block) | |
| @split_tag = split_tag.to_s.downcase | |
| @callback = block | |
| @document = nil | |
| @context = [] |
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
| // Send batches of documents to Solr with a maximum of 5 requests | |
| // outstanding at a time. And don't run out of memory! | |
| "use strict"; | |
| var solr = require('solr-client'); | |
| var fs = require('fs'); | |
| var LineByLineReader = require('line-by-line'); |