Skip to content

Instantly share code, notes, and snippets.

View chadwtaylor's full-sized avatar

Chad Taylor chadwtaylor

View GitHub Profile
@chadwtaylor
chadwtaylor / booking-team-changed-2.png
Last active April 25, 2026 22:40
team-changed-2 replay - booking detail
booking-team-changed-2.png
@chadwtaylor
chadwtaylor / referral-playground.html
Created April 17, 2026 17:24
Terp Tools — Referral System Playground (5 screens: Referral Hub, Landing Page, Payment Celebration, Onboarding Step, Admin Config)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Terp Tools — Referral System Playground</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
@chadwtaylor
chadwtaylor / marketing-demo.html
Last active April 16, 2026 22:54
Terp Tools - Pitch Page
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Terp Tools — The Operating System for Independent Interpreters</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
{
arrays: [
{
id: "7a74aff0-a41a-46ad-b199-76363063f9fc",
full_name: "Robin Mills",
username: null,
avatar_url: "https://www.filepicker.io/api/file/9bvsA1rmSWy8HVweWrBP",
links: {
bids: "/1/people/8/bids"
}
@chadwtaylor
chadwtaylor / accounting.rb
Created April 30, 2014 19:13
Example files from our rails application
module Person::Accounting
def subledger
@subledger ||= Subledger.new self
end
class Subledger
def initialize(parent)
@parent = parent
class ApplicationController < ActionController::Base
protect_from_forgery
# Need a way to use :except to ignore a specific controller (ie: MessagesController)
before_filter :authenticate, :except => ["index"]
private
class ApplicationModel < ActiveResource::Base
@@site = "http://captionwatch-api.dev"
@@user = "admin"
end
class Complaint < ApplicationModel
end
class ApplicationModel < ActiveResource::Base
def initialize
super
self.site = "http://captionwatch-api.dev"
self.user = "admin"
end
end
class ApplicationController < ActionController::Base
protect_from_forgery
before_filter :say_something
def say_something
puts "Can you read me?"
end
end
class SalesforceModel < ActiveResource::Base
headers['Authorization'] = 'session_id_goes_here'
headers['X-PrettyPrint'] = '1'