Skip to content

Instantly share code, notes, and snippets.

View marten's full-sized avatar

Marten Veldthuis marten

  • RoQua, UMCG
  • Beilen, Netherlands
View GitHub Profile
org.mule.providers.FatalConnectException: ReconnectStrategy "org.mule.providers.SingleAttemptConnectionStrategy" failed to reconnect receiver on endpoint "mllp://127.0.0.1:6661"
at org.mule.providers.SingleAttemptConnectionStrategy.doConnect(SingleAttemptConnectionStrategy.java:34)
at org.mule.providers.AbstractConnectionStrategy.connect(AbstractConnectionStrategy.java:67)
at org.mule.providers.AbstractMessageReceiver.start(AbstractMessageReceiver.java:397)
at org.mule.providers.AbstractConnector.registerListener(AbstractConnector.java:518)
at com.webreach.mirth.connectors.mllp.MllpConnector.registerListener(MllpConnector.java:423)
at org.mule.impl.model.AbstractModel.registerListeners(AbstractModel.java:221)
at org.mule.impl.model.AbstractModel.start(AbstractModel.java:353)
at org.mule.MuleManager.start(MuleManager.java:730)
at org.mule.config.builders.MuleXmlConfigurationBuilder.configure(MuleXmlConfigurationBuilder.java:207)
marten@mineserver:/var/www$ xvfb-run -a '--server-args=-screen 0 1024x768x16' java -Dorg.lwjgl.opengl.Display.allowSoftwareOpenGL=true -Dorg.lwjgl.opengl.Display.noinput=true -jar /home/marten/Tectonicus_v1.19.jar mode=cmd worldDir=/home/marten/minecraft/world signs=all outputDir=/var/www/tectonicus minecraftJar=/home/marten/minecraft.jar verbose=true numSamples=0
+ + + + + + + + + + + + + + + + + + + + + + +
Tectonicus
Version: 1.19
Build 2407MP
Constructed on February 24 2011 at 2309
+ + + + + + + + + + + + + + + + + + + + + + +
Started on Fri Feb 25 14:21:54 CET 2011
System:
OS Name: Linux
marten@mineserver:~$ sudo lsof
[sudo] password for marten:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
init 1 root cwd DIR 251,0 4096 2 /
init 1 root rtd DIR 251,0 4096 2 /
init 1 root txt REG 251,0 108164 143935 /sbin/init
init 1 root mem REG 251,0 42572 951 /lib/libnss_files-2.12.1.so
init 1 root mem REG 251,0 38504 953 /lib/libnss_nis-2.12.1.so
init 1 root mem REG 251,0 79676 948 /lib/libnsl-2.12.1.so
init 1 root mem REG 251,0 30496 949 /lib/libnss_compat-2.12.1.so
require 'benchmark'
arr = (1..1000000).map { rand };
Benchmark.bm(1000) do |x|
x.report("&:symbol") { arr.map(&:to_s); }
x.report("lambda") { arr.map{|i| i.to_s }; }
end
test
1323133
class MergeAdhd < ActiveRecord::Migration
def self.up
adhd1 = RoquaQuestionnaire.find_by_key "adhd"
adhd1_bulk = RoquaQuestionnaire.find_by_key "adhd_bulk"
adhd2 = RoquaQuestionnaire.find_by_key "adhd2"
adhd2_bulk = RoquaQuestionnaire.find_by_key "adhd2_bulk"
[adhd1, adhd1_bulk, adhd2, adhd2_bulk].each do |q|
# Prefix all values.keys with questionnaire.key
q.answers.each do |answer|
" Use vim settings, rather then vi settings (much better!)
" This must be first, because it changes other options as a side effect.
set nocompatible
filetype off
set rtp+=~/.vim/vundle.git
call vundle#rc()
filetype plugin indent on " enable detection, plugins and indenting in one step
let mapleader = ","
HoNOS
Date 2011-03-14 10:44:57 +0100
roqua_id string
"Intern ID toegekend door RoQua"
patient_id string
"Patientnummer toegekend door GGZ instelling"
gender string
staging:
hosts: [[mongo1.stag.roqua.nl, 27017], [mongo2.stag.roqua.nl, 27017], [mongo3.stag.roqua.nl, 27017]]
username: USERNAME
password: PASSWORD
database: roqua_staging_KLANTNAAM
read_secondary: true
max_retries_on_connection_failure: 3
persist_in_safe_mode: true
production: