View keybase.md

Keybase proof

I hereby claim:

  • I am danielcooper on github.
  • I am danielcooper (https://keybase.io/danielcooper) on keybase.
  • I have a public key whose fingerprint is 472D 87C9 AF0F 3A3B 80B2 8609 1062 D8EA D30F D001

To claim this, I am signing this object:

View gist:fc78e22fbda9f37c2d83

Client-side SSL

For excessively paranoid client authentication.

Using self-signed certificate.

Create a Certificate Authority root (which represents this server)

Organization & Common Name: Some human identifier for this server CA.

openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
View gist:fb29e2ba9d80d006a601

Client-side SSL

For excessively paranoid client authentication.

Using self-signed certificate.

Create a Certificate Authority root (which represents this server)

Organization & Common Name: Some human identifier for this server CA.

openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 365 -key ca.key -out ca.crt
View gist:9227756
=> ["brdrps-LOE120125", "brdrps-BUS110134", "brdrps-NBL090083", "brdrps-BNH130002", "brdrps-LSK130190", "brdrps-PNL070117", "brdrps-STH120012", "brdrps-NEW140054", "brdrps-TQY130352", "brdrps-SHA120045", "brdrps-NWL090069", "brdrps-BUS120046", "brdrps-TQY120113", "brdrps-PSK110326", "brdrps-HEL110179", "brdrps-SHA130015", "brdrps-PYL080012", "brdrps-EEL070240", "brdrps-NAB120427", "brdrps-CAL120101", "brdrps-NAB120332", "brdrps-STH130225", "brdrps-NEW110193", "brdrps-SHA120021", "brdrps-CAL110006", "brdrps-EXE130418", "brdrps-CAL110220", "brdrps-PEN130119", "brdrps-HLR100002", "brdrps-PEN120089", "brdrps-PSK100387", "brdrps-PGN120407", "brdrps-EXE130150", "brdrps-EXM110211", "brdrps-CAL100240", "brdrps-OKE130223", "brdrps-SAL110236", "brdrps-EXM120168", "brdrps-OEL070077", "brdrps-STH130218", "brdrps-NBL080040", "brdrps-HLR090006", "brdrps-EXM130502", "brdrps-EXM130441", "brdrps-NEW130277", "brdrps-PNL070059", "brdrps-BUS100142", "brdrps-NAB120458", "brdrps-EXE130502", "brdrps-PSK130259", "brdrps-BUR090028",
View gist:8647168
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://webservice.reapit.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ns1:GetGeneralPropertyResponse xmlns:ns1="http://webservice.reapit.com/">
<Property xsi:type="tns:GeneralProperty">
<ID xsi:type="xsd:string">brdrps-PLY120182</ID>
<SalePrice xsi:type="xsd:int">575000</SalePrice>
<SaleMaxPrice xsi:type="xsd:int">0</SaleMaxPrice>
<SalePriceString xsi:type="xsd:string">&amp;#163;575,000</SalePriceString>
<PriceQualifier xsi:type="xsd:string" />
View an_a_p_i_class.rb
class AnAPIClass
include HTTParty
include HTTParty::DryIce
base_uri 'example.com'
cache Rails.cache
end
View gist:5236963
{\"address\":{\"county\":\"Devon\",\"locality\":\"Landscove\",\"postcode\":\"TQ13 7NA\",\"custom_location\":\"Rural North Totnes\",\"street\":\"Landscove\",\"town\":\"Newton Abbot\",\"display\":\"Landscove, Newton Abbot, Devon, TQ13\",\"name\":\"Beara Land\"},\"status\":\"Sold\",\"custom_status\":null,\"commission\":null,\"latitude\":50.48228,\"let_bond\":0,\"instructed\":\"2012-08-21\",\"area\":{\"imperial\":{\"unit\":\"sqft\",\"min\":0,\"max\":0},\"metric\":{\"unit\":\"sqm\",\"min\":0,\"max\":0}},\"price\":49500,\"energy_reports\":[],\"comm_rent\":null,\"user_field_2\":5,\"uploaded_on\":\"2012/05/09\",\"rm_let_type_id\":0,\"disclaimers\":[{\"file\":null,\"value\":\"You may download, store and use the material for your own personal use and research. You may not republish, retransmit, redistribute or otherwise make the material available to any party or make the same available on any website, online service or bulletin board of your own or of any other party or make the same available in hard copy or in any o
View gist:4058973
class LinkedListNode
attr_accessor :next, :value
def initialize(value)
@value = value
end
end
View gist:3932446
class Person
attr_accessor :name
def initialize(name)
@name = name
end
end
class Employee < Person
attr_accessor :salary
View gist:3932444
module BugMakingSupport
def make_bugs
"#{@person.name} does some typing"
end
end
class Developer < Employee
include BugMakingSupport
end