Skip to content

Instantly share code, notes, and snippets.

View bcobb's full-sized avatar
🌝

Brian Cobb bcobb

🌝
View GitHub Profile
@bokmann
bokmann / ActiveRepository.rb
Created March 27, 2012 16:15
ActiveRepository Strawman
# MOTIVATION: As rails apps are growing, people are noticing the drawbacks
# of the ActiveRecord pattern. Several apps I have seen, and several
# developers I have spoken to are looking towards other patterns for object
# persistence. The major drawback with ActiveRecord is that the notion
# of the domain object is conflated with what it means to store/retrieve
# it in any given format (like sql, json, key/value, etc).
#
# This is an attempt to codify the Repository pattern in a way that would
# feel comfortable to beginner and seasoned Ruby developers alike.
#
@smith
smith / index.html
Created April 4, 2012 04:46
Ping with socket.io
<input placeholder="ping something" /><button>ping!</button>
<pre></pre>
<script src="//localhost:8888/socket.io/socket.io.js"></script>
<script>
(function () {
var socket = io.connect("//localhost:8888"),
pre = document.querySelectorAll("pre")[0],
input = document.querySelectorAll("input")[0],
button = document.querySelectorAll("button")[0];
@justincampbell
justincampbell / PhillyETE 2012 Day 1.md
Created April 10, 2012 21:08
PhillyETE 2012 Notes

todo

Storm Threequal js vs ruby

Keynote

The E myth Org chart for yourself

QFD = ideas into actionable items

@asmallteapot
asmallteapot / gist:2368038
Created April 12, 2012 15:14
Notes from @UncleBobMartin’s Demanding Professionalism talk in Tampa, Florida on 11 April 2012.

Demanding software professionalism

Presented by Bob Martin in Tampa, Florida on 11 April 2012.

Miscellany

“Uranus is not a naked–eye object under any circumstances.”

  • Copernicus’ motivation was religious, not scientific! Galileo looked at the phases of Venus to determine its orbit in relation to Sol.

Bob: How do you become unafraid of your code?

@marktheunissen
marktheunissen / pedantically_commented_playbook.yml
Last active June 15, 2025 15:49 — forked from phred/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
This playbook has been removed as it is now very outdated.
@justincampbell
justincampbell / scrc-day1.md
Created August 3, 2012 21:49
Steel City Ruby Conf 2012

Getting the most out if a Conference - Jeff Casimir

Why are we here? Ruby community is awesome New people are awesome Developers are exhausted by social interaction Recharge with a movie by yourself Conferences are about starting conversation Its hard Introvert != shy

@jasonrudolph
jasonrudolph / 00-about.md
Created September 21, 2012 18:42
Rough Notes from Strange Loop 2012
require 'thread'
class Actor
class ActorDied < RuntimeError; end
def self.queue
@queue ||= Queue.new
end
def self.push(x)
queue.push(x)
@smith
smith / Notes On Strange Loop 2013.md
Last active December 23, 2015 17:09
Notes On Strange Loop 2013

Notes On Strange Loop 2013

The second Strange Loop I've attended was truly an amazing conference like no other. Last year's was fantastic, but this year was just, well, you really had to be there. Even so, I'll try to give a summary of stuff that happened.

Negatives

To get it out of the way now, these are the things I didn't like:

@brettchalupa
brettchalupa / curry.md
Created January 30, 2014 17:22
Curry checks that committers in a GitHub Pull Request have signed Chef's CLA in Super Market.

Curry

Curry checks that committers in a GitHub Pull Request have signed Chef's CLA in Super Market.

Intro

The general goal of curry is to verify that committer(s) opening a pull request in a Chef Inc. repo have signed a CLA. If they have signed a CLA, Super Market will leave a comment letting Chef Inc. know that the user has signed a CLA. If they have not, Super Market will leave a comment letting Chef Inc. and the committer(s) know they have not signed a CLA, while instructing the committer(s) to sign a CLA. When the Pull Request is opened, a ticket is opened in the ticket tracking system being used (in Chef's case, JIRA).

Major parts of Curry include: