Skip to content

Instantly share code, notes, and snippets.

View jasonhazel's full-sized avatar
💜

Jason Hazel jasonhazel

💜
View GitHub Profile
parts = gets.chomp.split.group_by(&:size)
parts.each do |key, part|
puts "#{part.size} words with #{key} letters"
end
gets.chomp.split.group_by(&:size).each {|k, v| puts "#{v.size} words with #{k} letters" }
@jasonhazel
jasonhazel / 00.md
Created November 28, 2017 20:18 — forked from maxivak/00.md
Using RSpec without Rails

Using RSpec without Rails

units:
w: cx
h: cy
points:
mirror:
ref: matrix_inner_bottom
shift: [3w, 0]
zones:
matrix: