I hereby claim:
- I am denpatin on github.
- I am denpatin (https://keybase.io/denpatin) on keybase.
- I have a public key ASDOmSh6Y07KDGmMx2isV8IUAHCbPc9Baox8_jjlBVI-BQo
To claim this, I am signing this object:
# Main class for emulating the simplest CPU | |
class CPU | |
attr_reader :al, :ah, :ax | |
attr_writer :registers | |
def initialize | |
@al = 0 | |
@ah = 0 | |
@ax = 0 | |
end |
ruby '2.7.1' | |
gem 'rails', github: 'rails/rails' | |
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data | |
# Action Text | |
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra' | |
gem 'okra', github: 'basecamp/okra' | |
# Drivers |
class Day08 | |
getter displays : Array(Array(Array(String))) | |
def initialize(input) | |
@displays = input.map &.split("|").map(&.split) | |
end | |
def part1 | |
result = 0 |
I hereby claim:
To claim this, I am signing this object:
# frozen_string_literal: true | |
source 'https://rubygems.org' | |
gem 'nokogiri' | |
gem 'rubocop', require: false |