Skip to content

Instantly share code, notes, and snippets.

View jpsingleton's full-sized avatar
🌲

James Singleton jpsingleton

🌲
View GitHub Profile
@jpsingleton
jpsingleton / keybase.md
Created March 15, 2015 16:20
keybase.md

Keybase proof

I hereby claim:

  • I am jpsingleton on github.
  • I am jps (https://keybase.io/jps) on keybase.
  • I have a public key whose fingerprint is 0B36 EF94 5256 9BE6 A807 F0B1 B0F0 6B84 CCD6 D81B

To claim this, I am signing this object:

@jpsingleton
jpsingleton / ojp.cs
Created November 18, 2015 23:10
National Rail UK Journey Planner SOAP API Example
using System;
using System.ServiceModel;
using OJP.RTJP; // service reference namespace
namespace OJP {
class Program {
static void Main() {
var binding = new BasicHttpsBinding {
Security = new BasicHttpsSecurity {
Mode = BasicHttpsSecurityMode.Transport,
@jpsingleton
jpsingleton / app.config
Created November 18, 2015 23:28
SilverRail SilverCore SOAP API Example
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
<system.serviceModel>
<bindings>
<basicHttpsBinding>
<binding name="ShoppingServicesEndpointImplServiceSoapBinding" maxReceivedMessageSize="20000000" maxBufferSize="20000000" maxBufferPoolSize="20000000">
<security mode="Transport">