Skip to content

Instantly share code, notes, and snippets.

View klebervirgilio's full-sized avatar
🎯
Focusing

Kleber Correia klebervirgilio

🎯
Focusing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am klebervirgilio on github.
  • I am klebervirgilio (https://keybase.io/klebervirgilio) on keybase.
  • I have a public key ASAaPUWv-qj9-Yv4iSaFdjwecJhJI0aYLFtkOs-tQHcctgo

To claim this, I am signing this object:

map[string]string{
'af': 'Afrikaans',
'af-ZA': 'Afrikaans (South Africa)',
'ar': 'Arabic',
'ar-AE': 'Arabic (U.A.E.)',
'ar-BH': 'Arabic (Bahrain)',
'ar-DZ': 'Arabic (Algeria)',
'ar-EG': 'Arabic (Egypt)',
'ar-IQ': 'Arabic (Iraq)',
'ar-JO': 'Arabic (Jordan)',
# frozen_string_literal: true
input = [
51_360, 95_527, 72_603, 128_601, 68_444, 138_867, 67_294,
134_343, 62_785, 53_088, 134_635, 137_884, 97_654, 103_704,
138_879, 87_561, 83_922, 68_414, 84_876, 105_143, 76_599,
98_924, 57_080, 63_590, 50_126, 111_872, 55_754, 64_410,
78_488, 56_557, 105_446, 127_182, 59_451, 87_249, 61_652,
131_698, 148_820, 95_742, 68_223, 121_744, 65_678, 99_745,
64_089, 75_610, 106_085, 100_364, 116_959, 122_862, 56_580,
INPUT = [
1,12,2,3,
1,1,2,3,
1,3,4,3,
1,5,0,3,
2,10,1,19,
1,5,19,23,
1,23,5,27,
1,27,13,31,
1,31,5,35,
require 'tempfile'
require 'bundler/inline'
require 'date'
gemfile do
source 'https://rubygems.org'
ruby '3.3.0'
gem 'pdftotext', require: true
gem 'pry', require: true
end