Skip to content

Instantly share code, notes, and snippets.

View ritchiey's full-sized avatar

Ritchie Young ritchiey

View GitHub Profile
@ritchiey
ritchiey / keybase.md
Created February 26, 2017 03:10
keybase.md

Keybase proof

I hereby claim:

  • I am ritchiey on github.
  • I am ritchiey (https://keybase.io/ritchiey) on keybase.
  • I have a public key ASCPCkhZaqYAoazMvptx8FEE4fLBs--H8P8GaJygx3867wo

To claim this, I am signing this object:

@ritchiey
ritchiey / spec.rb
Created February 8, 2015 12:37 — forked from anonymous/spec.rb
describe Anonymity do
it "is great"
end
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
// Stupid comment
var a = 4;
@ritchiey
ritchiey / receiving_payment.feature
Created December 3, 2014 03:36
Pin API Workflow
Feature: Receiving Payment
As a website owner
In order to monetize my site
I want to receive credit card payments into my back account
Background:
Given I have a valid Pin Account
Scenario: Receiving a once-off payment
Given the customer is on the payment page
me =
happy: true
@ritchiey
ritchiey / Command line log
Created March 20, 2014 01:09
Attempting to setup 88Miles Gem
Ritchie-Youngs-iMac:myediary ritchiey$ gem install 88miles
Fetching: trollop-2.0.gem (100%)
Successfully installed trollop-2.0
Fetching: highline-1.6.21.gem (100%)
Successfully installed highline-1.6.21
Fetching: jwt-0.1.11.gem (100%)
Successfully installed jwt-0.1.11
Fetching: multipart-post-2.0.0.gem (100%)
Successfully installed multipart-post-2.0.0
Fetching: faraday-0.9.0.gem (100%)
@ritchiey
ritchiey / diff.txt
Last active December 24, 2015 09:09
Fix for mimic-xmlrpc not working on 1 October. This is a one line change but I couldn't seem to login to sourceforge to submit it as a patch.
--- a/public/javascripts/application/mimic.js
+++ b/public/javascripts/application/mimic.js
@@ -529,7 +529,7 @@ Date.prototype.toIso8601 = function() {
day = "0" + day;
}
- return year + month + day + "T" + time;
+ return "" + year + month + day + "T" + time;
};
@ritchiey
ritchiey / Bad Solution
Created August 20, 2013 06:54
Good and bad solutions to a simple Jasmine spec
class Picture
setHeight: (height) ->
@width = 400
@height = 200
setWidth: (width) ->
@height = 50
@width = 100
@ritchiey
ritchiey / JRuby on Rails thread safe HOW-TO.md
Created January 4, 2012 14:13 — forked from nowhereman/JRuby on Rails thread safe HOW-TO.md
Thread-safe JRuby on Rails HOW-TO with the help of Warbler, Apache Tomcat and JNDI (WIP)