Skip to content

Instantly share code, notes, and snippets.

@cchanley2003
cchanley2003 / day1.exs
Last active December 6, 2023 21:26
Advent2023
defmodule Day1 do
def process_file(file_path) do
File.stream!(file_path)
|> Enum.reduce(0, fn line, acc ->
line_sum = line
|> process_line_part2()
|> concat_tuple()
|> String.to_integer()
line_sum + acc
end)

Overall approach

  1. Get as much down to unclass as possible, wikis, tickets, code etc.
    • This would be a large burden on Mary's team, we can control what we can control, maybe ask Hoff for more resources to support Mary?

Prereqs

  1. All team members have a udev account
  2. All team members are part of vpnuser udev group
  3. All team members have access to a computer that can VPN and VNC
  4. All team members are in geoint gitlab (interim approach)
  5. Mirror issues/wiki between geoint gitlab and jira
  • Big initial push to work with capturing json definitions of tickets/wiki and getting them downscanned