Skip to content

Instantly share code, notes, and snippets.

View M7's full-sized avatar

Michael D.W. Prendergast M7

View GitHub Profile
@M7
M7 / pair_programming_meetup_-_03-25-14.md
Created March 25, 2014 20:43
Ottawa Ruby Pair Programming Meetup Guide - March 2014

Ottawa Ruby Pair Programming Meetup Guide

1. So, what are we doing tonight?

We're going to be going through the exercises at exercism.io, with two twists:

  1. You'll be writing you own tests (exercism.io gives you tests, but you'll be ignoring them)
  2. We'll be Pairing up to do them.

For the pairing, we'll be using a method known as "Ping Pong Pairing," so that each pair gets to write both tests and code, and it's more clear when the "driver" should switch to another person.

@M7
M7 / Ottawa Ruby Stripe-CTF Meetup Guide.md
Last active January 4, 2016 20:59
A guide for the Ottawa Ruby Stripe-CTF Meetup

Ottawa Ruby Stripe-CTF Meetup Guide

1. What are we doing tonight?

Tonight, we'll be running through Stripe's Capture The Flag (CTF) Challenge. :)

Stripe's CTF basically gives you some hands-on playtime with interesting problems. Your goal is to solve the problems to the best of your ability.

It's fairly beginner friendly, at least for the first level or two. But don't worry if you don't feel up to it, we have some other exercises for you that are even more suitable for beginners.

@M7
M7 / gist:2221561
Created March 27, 2012 23:45
Whenbot Channel Directory Structure

Whenbot Channel Directory Structure

When creating a Channel Gem, you should use the following directory structure:

Here's an example, of the structure for a Gmail Channel:

lib
  whenbot
 whenbot_gmail.rb 
@M7
M7 / gist:2209894
Created March 26, 2012 21:31
Reservations - Whenbot Channel Reservations

Whenbot Channel Development Reservations

Below is an informal list that people can use to show which Channels they're working on. This will help prevent people from working away on a Channel, only to later find out that someone else was doing the exact same thing.

But, really, this is mostly a learning exercise; so feel free to work on any portion that you'd like, whether or not someone else is working on it.

Note: We'll have instructions on how to contribute later. For now, just sign up and start researching the API of the service you chose.

Reserving Your Slot

@M7
M7 / gist:2175149
Created March 23, 2012 21:18
Design Doc - Overview - Ruby Tuesday - Whenbot

In This Document

  1. General Overview
  2. High Level Concepts 1. Channels 2. Triggers 3. Actions 4. Tasks
  3. Technical Overview
  4. Whenbot Gem
@M7
M7 / Ruby Tuesday - Whenbot - Component Interactions and Flow (Rough).markdown
Created March 23, 2012 21:11
Component Interactions and Flow (Rough) - Ruby Tuesday - Whenbot

Component Interaction Flow (Rough)

Documentation Note: These sections need better titles.

After Gem install: Adding a new Channel to the Whenbot Gem

  1. New Channel is installed (via gem) i. Channel must register with main Whenbot gem
  • Can be done with a config option or Whenbot.define block
@M7
M7 / Ruby Tuesday - Group Project - Rough - Component Responsibilities.markdown
Created March 23, 2012 21:10
Component Responsibilities (Rough) - Ruby Tuesday - Whenbot

Component Responsibilities (Rough)

Note: Numbers in square brackets correspond to the Component Interaction Flows

In this document

  1. Whenbot Gem Responsibilities
  2. Whenbot UI Responsibilities
  3. Channel Responsibilities
  4. Service Class Responsibilities
@M7
M7 / learning_basic_programming.md
Created January 3, 2012 03:22 — forked from edward/learning_basic_programming.md
Tech-ing Up: Learning basic programming

Tech-ing Up: Learning basic programming

Coming from http://www.reddit.com/r/canada/comments/m1494/looking_for_a_developer_advocate_for_shopify/ or elsewhere? Awesome.

This is a guide for learning the bare minimum needed for effectively working as a junior programmer or developer advocate at most software companies.

If you haven’t ever programmed before, don’t sweat it. Those who would be good fits at this job are naturally attuned to this stuff and their innate curiosity makes it a cakewalk. If you’re finding that it’s a frustrating experience the entire way through, then you should consider doing something else for a little while before you come back to give it another shot.

A first stab at programming