From f51e1cd8fb7ca819a9af6a062f9d29a7d316d41c Mon Sep 17 00:00:00 2001 From: Adam Millerchip Date: Sun, 6 Dec 2020 11:45:43 +0900 Subject: [PATCH] Commit template --- .gitignore | 1 - template/README | 25 +++++++++++++++++++++++++ template/dayNpart1.exs | 9 +++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) delete mode 100644 .gitignore create mode 100644 template/README create mode 100644 template/dayNpart1.exs diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 7a4c68b..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -template/ diff --git a/template/README b/template/README new file mode 100644 index 0000000..7b8012b --- /dev/null +++ b/template/README @@ -0,0 +1,25 @@ +Day REPLACE_ME Notes + ++--------+ +| Part 1 | ++--------+ + +$ elixir dayREPLACE_MEpart1.exs + +Thoughts: + + ++--------+ +| Part 2 | ++--------+ + +$ elixir dayREPLACE_MEpart2.exs + +Thoughts: + + ++------------------+ +| Overall Thoughts | ++------------------+ + + diff --git a/template/dayNpart1.exs b/template/dayNpart1.exs new file mode 100644 index 0000000..a8a24f6 --- /dev/null +++ b/template/dayNpart1.exs @@ -0,0 +1,9 @@ +defmodule DayREPLACE_MEPart1 do + def run do + File.read!("input") + |> String.trim() + |> String.split("\n") + end +end + +DayREPLACE_MEPart1.run()