Skip to content

Instantly share code, notes, and snippets.

View solars's full-sized avatar

Christoph Blank solars

View GitHub Profile
WARNING: [BSS2006]: No subscription header specified, ACK first non-transacted subscriptions ids with prefix /subscription-to/ for message ID:381-178.63.244.192(de:d2:3a:bf:e6:98)-36205-1313569296578
Aug 17, 2011 10:32:08 AM
SEVERE: [BSS3002]: ACK failed: [BSS4008]: Can not determine subscriber to ACK message ID:381-178.63.244.192(de:d2:3a:bf:e6:98)-36205-1313569296578. Please specify subscription header on STOMP connection 5431395949533843200[null]
com.sun.messaging.bridge.service.stomp.StompProtocolException: [BSS4008]: Can not determine subscriber to ACK message ID:381-178.63.244.192(de:d2:3a:bf:e6:98)-36205-1313569296578. Please specify subscription header
at com.sun.messaging.bridge.service.stomp.StompConnection.ackNonTransacted(StompConnection.java:394)
at com.sun.messaging.bridge.service.stomp.StompProtocolHandler.onACK(StompProtocolHandler.java:699)
at com.sun.messaging.bridge.service.stomp.StompProtocolFilter.execute(StompProtocolFilter.java:127)
at com.sun.grizzly.DefaultProtocolChain.executeP
2011-07-11 - 2011-07-12
2011-07-13 - 2011-07-15
2011-07-19 - 2011-07-19
2011-07-20 - 2011-07-20
->
2011-07-11 - 2011-07-15
2011-07-19 - 2011-07-20
class Daterange
include Mongoid::Document
field :from, type: Date
field :to, type: Date
end
class Person
include Mongoid::Document
field :name, type: String
embeds_many :dateranges
require 'rubygems'
require 'bundler'
Bundler.setup
require 'premailer'
io = File.open("test.html")
premailer = Premailer.new(io, :warn_level => Premailer::Warnings::SAFE)
puts premailer.to_inline_css
drwxr-xr-x 2 christoph christoph 4.0K 2011-07-12 20:17 branches/
drwxr-xr-x 2 christoph christoph 4.0K 2011-07-12 20:17 hooks/
drwxr-xr-x 2 christoph christoph 4.0K 2011-07-12 20:17 info/
drwxr-xr-x 258 christoph christoph 4.0K 2011-07-12 20:19 objects/
drwxr-xr-x 4 christoph christoph 4.0K 2011-07-12 20:17 refs/
-rw-r--r-- 1 christoph christoph 165 2011-07-12 20:17 config
-rw-r--r-- 1 christoph christoph 73 2011-07-12 20:17 description
-rw-r--r-- 1 christoph christoph 23 2011-07-12 20:19 HEAD
-rw-r--r-- 1 christoph christoph 85 2011-07-12 20:19 packed-refs
The project was not built due to "SVN: '0x00000119: Delete' operation finished with error". Fix the problem, then try refreshing this project and building it since it may be inconsistent
bundle exec ruby export.rb Landschriften
/usr/local/rvm/gems/ruby-1.9.2-p180@propertyexport/bundler/gems/seekda-comm-8a6f9706c270/lib/happymapper.rb:91: [BUG] unknown type 0x22 (0xc given)
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
-- control frame ----------
c:0011 p:---- s:0043 b:0043 l:000042 d:000042 CFUNC :root
c:0010 p:0110 s:0040 b:0040 l:000039 d:000039 METHOD /usr/local/rvm/gems/ruby-1.9.2-p180@propertyexport/bundler/gems/seekda-comm-8a6f9706c270/lib/happymapper.rb:91
c:0009 p:0073 s:0029 b:0029 l:000f98 d:000028 BLOCK export.rb:41
c:0008 p:---- s:0023 b:0023 l:000022 d:000022 FINISH
c:0007 p:---- s:0021 b:0021 l:000014 d:000020 IFUNC
{'AT1' => [:fu, :bar], 'AT2' => [:fu]}.to_a.each_slice(1) do |i|
puts i.inspect
end
# result
[["AT1", [:fu, :bar]]]
[["AT2", [:fu]]]
# how can I get the hashes there?
class CheckoutCharge
include OTAElement
tag 'CheckoutCharge'
attribute :code, String, :tag => 'CodeDetail'
attribute :code, String, :tag => 'Amount'
attribute :type, String, :tag => 'TypeOfCharging'
attribute :type, String, :tag => 'Type'
end
class RoomStay
include OTAElement
tag 'RoomStay'
#StringLength1to32
attribute :promotion_code, String, :tag => 'PromotionCode'
# container
has_one :booking_rules_el, BookingRules, :tag => 'BookingRules'
# children