Skip to content

Instantly share code, notes, and snippets.

View gusennan's full-sized avatar

Nate Guerin gusennan

View GitHub Profile
public interface Filter {
public boolean PassesFilter(Leg leg);
public void add(Filter f);
}
public class Filter implements Filter {
private Filter f;
public boolean PassesCriteria(Leg leg) {
# inject
--
import "github.com/codegangsta/inject"
Package inject provides utilities for mapping and injecting dependencies in
various ways.
## Usage
#### func InterfaceOf
@gusennan
gusennan / gist:10446689
Created April 11, 2014 07:26
Missing Logos
meinFernBus
@gusennan
gusennan / booking_stack_trace1
Created December 6, 2013 14:12
Error thrown is at bottom.
[info] application - RESPONSE:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header/><soapenv:Body><doConfirmarReservaResponse xmlns="http://confirmarreserva.vav.ws.renfe.com"><doConfirmarReservaReturn>20131206-1500</doConfirmarReservaReturn></doConfirmarReservaResponse></soapenv:Body></soapenv:Envelope>
[info] application - REQUEST:<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><ns3:doComprarPlazas xmlns="http://excepciones.vav.ws.renfe.com" xmlns:ns2="http://bean.vav.ws.renfe.com" xmlns:ns3="http://comprarplazas.vav.ws.renfe.com"><ns3:acceso><ns2:agencia>2882</ns2:agencia><ns2:password>g01psg</ns2:password><ns2:sucursal>001</ns2:sucursal></ns3:acceso><ns3:idReserva>R00014406548</ns3:idReserva><ns3:idAgencia>2882</ns3:idAgencia><ns3:listadoDetallePlazaTarifaIda><ns2:coche>0007</ns2:coche><ns2