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
<?xml version="1.0" encoding="utf-8"?> | |
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://xmlme.com/WebServices" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://xmlme.com/WebServices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> | |
<wsdl:types> | |
<s:schema elementFormDefault="qualified" targetNamespace="http://xmlme.com/WebServices"> | |
<s:element name="FindSportingGoods"> | |
<s:complexType> | |
<s:sequence> | |
<s:element minOccurs="0" maxOccurs="1" name="Search" type="s:string" /> | |
</s:sequence> | |
</s:complexType> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://xmlme.com/WebServices" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://xmlme.com/WebServices" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> | |
<wsdl:types> | |
<s:schema elementFormDefault="qualified" targetNamespace="http://xmlme.com/WebServices"> | |
<s:element name="FindSportingGoods"> | |
<s:complexType> | |
<s:sequence> | |
<s:element minOccurs="0" maxOccurs="1" name="Search" type="s:string" /> | |
</s:sequence> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="WeatherService" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="WeatherService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> | |
<wsdl:types> | |
<s:schema elementFormDefault="qualified" targetNamespace="WeatherService"> | |
<s:import namespace="http://www.w3.org/2001/XMLSchema" /> | |
<s:element name="GetWeatherDataSet"> | |
<s:complexType> | |
<s:sequence> | |
<s:element minOccurs="0" maxOccurs="1" name="cityName" type="s:string" /> |
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
module WSDL | |
NS_WSDL = 'http://schemas.xmlsoap.org/wsdl/' | |
class Operation | |
include HappyMapper | |
register_namespace 'wsdl', NS_WSDL | |
namespace 'wsdl' | |
tag 'operation' | |
attribute :name, String, :tag => 'name' | |
has_many :inputs, Input, :tag => 'input' | |
has_many :outputs, Output, :tag => 'output' |
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
<%= form_tag(add_category_service_path(@service), :method => 'post', :remote => true) do %> | |
<%= select_tag 'service-category', options_for_select(['test'] %> | |
<%= submit_tag "Submit", :id => 'submit' %> | |
<% end %> | |
# controller | |
def add_category | |
respond_to do |format| | |
format.js { | |
render :text => 'fu' |
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
sqlite> select * from users; | |
9|guest-127.0.0.1@example.com|$2a$10$Uu9uOnBsNfGILk8Q5QFNe.3BRfT0l8meQXHaNae6OVa/CBGmOZcdG||||0|||||2011-08-29 14:32:58.577498|2011-08-29 14:32:58.577498|127.0.0.1 | |
sqlite> SELECT "users".* FROM "users" WHERE "users"."ip" = '127.0.0.1' LIMIT 1; | |
sqlite> |
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
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 |
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
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 |
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
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 |
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
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 | |