This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'yaml' | |
# parse YAML words list to a Ruby object | |
words = YAML.load(%Q{ | |
adj1: | |
- super | |
- hyper | |
- ultra | |
- legendary | |
- robotic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
:backtrace: true | |
:benchmark: false | |
:update_sources: true | |
:verbose: true | |
:sources: | |
- http://rubygems.org/ | |
install: --no-rdoc --no-ri | |
update: --no-rdoc --no-ri |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The first Ruby Quiz (http://www.rubyquiz.com/quiz1.html) has you implement | |
Bruce Schneier's Solitaire cipher in Ruby. This hand cipher uses a standard | |
deck of cards as the encryption key as well as to perform the cipher operations. | |
Today's exercise is to implement a Deck class representing a physical deck of | |
cards. It should have the following properties: | |
It contains an ordered list of 54 cards: numbered 2..10, face cards JQKA, and 2 differentiable jokers | |
A specific order can be specified when the deck is created | |
Cards have numeric values: | |
Clubs A2..10JQK: 1-13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Advantages of end grain? | |
Easier on knives, "self healing" (grain closes up after cut, doesn't wear down as easily) | |
Maple seems to be the thing in high-end boards (+ walnut, ironwood) | |
https://www.cuttingboard.com/blog/why-is-maple-the-most-popular-wood-for-cutting-boards/ | |
Go with lighter maple with a darker maple/walnut/cherry border | |
Actually, fuck that, go with a single color at first, then give away/sell if I make a better one | |
Or, use something with an interesting end grain | |
Where to source? | |
https://www.woodworkersinstitute.com/forum/food-safe-wood_topic1688.html | |
Adhesive? |