I hereby claim:
- I am oen on github.
- I am diomedet (https://keybase.io/diomedet) on keybase.
- I have a public key whose fingerprint is ADB1 8D55 B88E 29F0 CC05 7AD6 4711 84D3 9848 8D73
To claim this, I am signing this object:
# This is a basic workflow to help you get started with Actions | |
name: Build and release | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master ] |
def weighted | |
a = [] | |
(1..60).each do |i| | |
a << { value: "HIGH_#{i}", weight: 5 } | |
end | |
(1..30).each do |i| | |
a << { value: "MID_#{i}", weight: 3 } | |
end | |
(1..15).each do |i| | |
a << { value: "LOW_#{i}", weight: 2 } |
I hereby claim:
To claim this, I am signing this object:
require 'tokenizer' | |
class Parser | |
attr_reader :tokens, :prioritize | |
GRAMMAR = { | |
number: "insert_operand", | |
operator: "insert_operator", | |
open_bracket: "open_bracket", |