- Craig Buchek
- @CraigBuchek
- github.com/booch
| #### Debian Installer preseed file for Debian 7.2 (Wheezy) minimal install. | |
| # Allow installer to ask questions interactively - for now. | |
| d-i preseed/interactive boolean true | |
| d-i debconf/frontend string newt | |
| # Set localization (language, country, and locale). | |
| d-i debian-installer/locale string en_US | |
| d-i localechooser/preferred-locale select en_US.UTF-8 |
| # Allow multiple classes to be declared via A|B instead of [A, B]. | |
| class Class | |
| def |(*other_classes) | |
| SetOfClasses.new(self, other_classes) | |
| end | |
| end | |
| require 'set' | |
| class SetOfClasses | |
| attr_reader :classes |
| # TODO: | |
| # | |
| # Allow specifying number of runs. | |
| # Ensure child contexts get run multiple times. | |
| # Check what happens on failure in one of the runs. | |
| # Different color for dots. | |
| # Shrinking. | |
| module RandomlyGenerated |
These are ideas that came up during reading articles and discussions about the recent happenings in Ferguson.
-
All police officers shall have their names clearly displayed at all times while in uniform. Violation shall be a felony of impersonating a police officer. The names must be in a legible font, at least 30 points in size.
-
All police officers shall wear video recording devices. These recordings shall
Here are some general guidelines to consider when reviewing a pull request:
- Is the code covered by tests? *
- Are there any tests cases that are missing? *
- Unit tests - for any model changes *
- Acceptance tests - ???infrastructure needed
- Integration tests - for any front end behavior change *
- Black box testing? infrastructure needed
- Controller tests - for any controller changes *
- Rake / release tasks - manually run them? *
| * '...' - Using for Atom. | |
| * "..." - Using for Text. | |
| * [...] - Using this for List (and maybe Map). | |
| * {...} - Using this for Block. | |
| * <...> - No good, as it's too hard to parse differently than < and >. | |
| * (...) - Already overloaded for precedence and method call invocation. Tuple? | |
| * [<...>] - Looks like a really good choice. Map? | |
| * [!...!] - Might be too hard to parse ! inside a List then. (Unless we don't have a ! operator.) | |
| * [@...@] - Probably too hard to parse $ sigil inside a List then. | |
| * [#...#] - Probably too hard to parse comments then. Might use for nestable block comments. |
| # From http://blog.boochtek.com/2015/02/23/hexagonal-rails-controllers | |
| class OrderController < ApplicationController | |
| def index | |
| interactor.on(:display) { |orders| render orders } | |
| interactor.list | |
| end | |
| def show | |
| interactor.on(:display) { |order| render order } |
Please have Vagrant and VirtualBox installed ahead of the workshop, if possible. We'll be providing a virtual machine (on USB keys) with the lab exercises. Having Vagrant ready to run the VM will help us get started quickly. That said, we'll have a few minutes of slide presentation to get started. You might be able to get things working then. If you're unable to get Vagrant working, we'll have you pair up with a neighbor.