Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am bscofield on github.
  • I am bscofield (https://keybase.io/bscofield) on keybase.
  • I have a public key ASCfB5m0-LSKUYAp-FOMOu4N3fRUAnIWoDczeb4p4sVNXwo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am bscofield on github.
  • I am bscofield (https://keybase.io/bscofield) on keybase.
  • I have a public key whose fingerprint is E1A8 D273 57A4 0AC6 CFE9 F368 4B21 6817 DF8F C27A

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am bscofield on github.
  • I am bscofield (https://keybase.io/bscofield) on keybase.
  • I have a public key whose fingerprint is 4E8C C388 3EF7 FB5D AD8B CE4D A1FD C09A 8315 0B70

To claim this, I am signing this object:

@bscofield
bscofield / comics.txt
Last active December 20, 2015 03:49
List o'comics
52 #1-52
Marvel 1602 #1-8
100 Bullets #59-83
Action Comics #829
Action Philosophers #6-8
Adventures of Superman #642-644
Rod Espinosa's New Alice in Wonderland #1
All Flash #1
The All-new Iron Manual #1
All-star Superman #1-7
@bscofield
bscofield / gist:5336520
Created April 8, 2013 12:41
Abstract for "Better: a field guide to continuous improvement"
In every field and endeavor, the key to getting better is feedback. Much of the time, that feedback is integrated into explicit practice, as when a coach watches you hit hundreds of backhands and corrects your positioning in real-time. There are cases, however, where traditional practice is either not possible or not effective. You can practice how to write code, for instance, but the skills that help you succeed there don't necessarily translate easily to larger scopes (as in a full three-month project). In these cases, we have to figure out how to take lessons from performance (or doing-it-for-real) and apply them to the future.
In this talk, we'll look at how different domains deal with the problem of performance-as-practice and the techniques they use to get better over time. We'll also look explicitly at how this can (though often doesn't) work in software development. The goal, as always, is to get better, and this session will shed light on how to do just that.
$ rails g controller Mysteries index show
create app/controllers/mysteries_controller.rb
route get "mysteries/show"
route get "mysteries/index"
invoke erb
create app/views/mysteries
create app/views/mysteries/index.html.erb
create app/views/mysteries/show.html.erb
invoke test_unit
create test/functional/mysteries_controller_test.rb
require File.expand_path('../boot', __FILE__)
require 'rails/all'
# If you have a Gemfile, require the gems listed there, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env) if defined?(Bundler)
module MysteryIncorporated
class Application < Rails::Application
$ rails g controller Mysteries index show
create app/controllers/mysteries_controller.rb
route get "mysteries/show"
route get "mysteries/index"
invoke erb
create app/views/mysteries
create app/views/mysteries/index.html.erb
create app/views/mysteries/show.html.erb
invoke test_unit
create test/functional/mysteries_controller_test.rb
require 'active_support/time'
require 'active_support/ordered_hash'
require 'active_support/core_ext/array'
module Toolbox
module Logger
module_function
def log(message, priority = :warn)
Logger.send(:priority, message)
end
end
module CreditCard