From b78d79a3af2a7a31b09baa67c4d6481b74143f48 Mon Sep 17 00:00:00 2001 From: Josh Creek <8179928+jcreek@users.noreply.github.com> Date: Thu, 30 Nov 2023 12:51:45 +0000 Subject: [PATCH] chore(*): Move old solutions into a separate folder --- {2018 => old/2018}/Day 01/Day 01.csproj | 0 {2018 => old/2018}/Day 01/Program.cs | 0 {2018 => old/2018}/Day 01/TaskPart1.txt | 0 {2018 => old/2018}/Day 01/TaskPart2.txt | 0 {2018 => old/2018}/Day 01/input.txt | 0 {2018 => old/2018}/Day 02/Day 02.csproj | 0 {2018 => old/2018}/Day 02/Program.cs | 0 {2018 => old/2018}/Day 02/TaskPart1.txt | 0 {2018 => old/2018}/Day 02/TaskPart2.txt | 0 {2018 => old/2018}/Day 02/input.txt | 0 {2018 => old/2018}/Day 03/Claim.cs | 0 {2018 => old/2018}/Day 03/Day 03.csproj | 0 {2018 => old/2018}/Day 03/Program.cs | 0 {2018 => old/2018}/Day 03/TaskPart1.txt | 0 {2018 => old/2018}/Day 03/TaskPart2.txt | 0 {2018 => old/2018}/Day 03/input.txt | 0 {2018 => old/2018}/Day 04/Action.cs | 0 {2018 => old/2018}/Day 04/Day 04.csproj | 0 {2018 => old/2018}/Day 04/Day.cs | 0 {2018 => old/2018}/Day 04/Guard.cs | 0 {2018 => old/2018}/Day 04/Program.cs | 0 {2018 => old/2018}/Day 04/TaskPart1.txt | 0 {2018 => old/2018}/Day 04/input.txt | 0 {2019 => old/2019}/Day 01/Day 01.csproj | 0 {2019 => old/2019}/Day 01/Program.cs | 0 {2019 => old/2019}/Day 01/TaskPart1.txt | 0 {2019 => old/2019}/Day 01/TaskPart2.txt | 0 {2019 => old/2019}/Day 01/input.txt | 0 {2019 => old/2019}/Day 02/Day 02.csproj | 0 {2019 => old/2019}/Day 02/Program.cs | 0 {2019 => old/2019}/Day 02/TaskPart1.txt | 0 {2019 => old/2019}/Day 02/TaskPart2.txt | 0 {2019 => old/2019}/Day 02/input.txt | 0 {2019 => old/2019}/Day 03/Day 03.csproj | 0 {2019 => old/2019}/Day 03/Program.cs | 0 {2019 => old/2019}/Day 03/TaskPart1.txt | 0 {2019 => old/2019}/Day 03/TaskPart2.txt | 0 {2019 => old/2019}/Day 03/input.txt | 0 {2021 => old/2021}/01/01.csproj | 0 {2021 => old/2021}/01/Program.cs | 0 {2021 => old/2021}/01/TaskPart1.txt | 0 {2021 => old/2021}/01/TaskPart2.txt | 0 {2021 => old/2021}/01/input.txt | 0 {2021 => old/2021}/02/02.csproj | 0 {2021 => old/2021}/02/Program.cs | 0 {2021 => old/2021}/02/TaskPart1.txt | 0 {2021 => old/2021}/02/TaskPart2.txt | 0 {2021 => old/2021}/02/input.txt | 0 {2021 => old/2021}/03/03.csproj | 0 {2021 => old/2021}/03/BinaryData.cs | 0 {2021 => old/2021}/03/Program.cs | 0 {2021 => old/2021}/03/TaskPart1.txt | 0 {2021 => old/2021}/03/TaskPart2.txt | 0 {2021 => old/2021}/03/input.txt | 0 {2021 => old/2021}/04/04.csproj | 0 {2021 => old/2021}/04/Program.cs | 0 {2021 => old/2021}/04/TaskPart1.txt | 0 {2021 => old/2021}/04/TaskPart2.txt | 0 {2021 => old/2021}/04/input.txt | 0 {2021 => old/2021}/05/05.csproj | 0 {2021 => old/2021}/05/Program.cs | 0 {2021 => old/2021}/05/TaskPart1.txt | 0 {2021 => old/2021}/05/TaskPart2.txt | 0 {2021 => old/2021}/05/input.txt | 0 {2021 => old/2021}/06/06.csproj | 12 +-- .../20211206123902_InitialCreate.Designer.cs | 74 +++++++++---------- .../20211206123902_InitialCreate.cs | 62 ++++++++-------- .../06/Migrations/FishContextModelSnapshot.cs | 70 +++++++++--------- {2021 => old/2021}/06/Model.cs | 60 +++++++-------- {2021 => old/2021}/06/Program.cs | 0 {2021 => old/2021}/06/TaskPart1.txt | 0 {2021 => old/2021}/06/TaskPart2.txt | 0 {2021 => old/2021}/06/input.txt | 0 {2021 => old/2021}/06/readme.md | 4 +- {2021 => old/2021}/07/07.csproj | 0 {2021 => old/2021}/07/Program.cs | 0 {2021 => old/2021}/07/TaskPart1.txt | 0 {2021 => old/2021}/07/TaskPart2.txt | 0 {2021 => old/2021}/07/input.txt | 0 {2021 => old/2021}/08/08.csproj | 0 {2021 => old/2021}/08/Program.cs | 0 {2021 => old/2021}/08/TaskPart1.txt | 0 {2021 => old/2021}/08/TaskPart2.txt | 0 {2021 => old/2021}/08/input.txt | 0 {2021 => old/2021}/09/09.csproj | 0 {2021 => old/2021}/09/Program.cs | 0 {2021 => old/2021}/09/TaskPart1.txt | 0 {2021 => old/2021}/09/TaskPart2.txt | 0 {2021 => old/2021}/09/input.txt | 0 {2021 => old/2021}/10/10.csproj | 0 {2021 => old/2021}/10/Program.cs | 0 {2021 => old/2021}/10/TaskPart1.txt | 0 {2021 => old/2021}/10/TaskPart2.txt | 0 {2021 => old/2021}/10/input.txt | 0 {2021 => old/2021}/11/11.csproj | 0 {2021 => old/2021}/11/Program.cs | 0 {2021 => old/2021}/11/TaskPart1.txt | 0 {2021 => old/2021}/11/TaskPart2.txt | 0 {2021 => old/2021}/11/input.txt | 0 {2021 => old/2021}/14/14.csproj | 0 {2021 => old/2021}/14/Program.cs | 0 {2021 => old/2021}/14/TaskPart1.txt | 0 {2021 => old/2021}/14/TaskPart2.txt | 0 {2021 => old/2021}/14/input.txt | 0 {2021 => old/2021}/15/15.csproj | 0 {2021 => old/2021}/15/Dijkstra.cs | 0 {2021 => old/2021}/15/Dijkstra1.cs | 0 {2021 => old/2021}/15/Program.cs | 0 {2021 => old/2021}/15/TaskPart1.txt | 0 {2021 => old/2021}/15/TaskPart2.txt | 0 {2021 => old/2021}/15/input.txt | 0 {2021 => old/2021}/16/16.csproj | 0 {2021 => old/2021}/16/Program.cs | 0 {2021 => old/2021}/16/TaskPart1.txt | 0 {2021 => old/2021}/16/TaskPart2.txt | 0 {2021 => old/2021}/16/input.txt | 0 {2021 => old/2021}/AOC2021.sln | 0 117 files changed, 141 insertions(+), 141 deletions(-) rename {2018 => old/2018}/Day 01/Day 01.csproj (100%) rename {2018 => old/2018}/Day 01/Program.cs (100%) rename {2018 => old/2018}/Day 01/TaskPart1.txt (100%) rename {2018 => old/2018}/Day 01/TaskPart2.txt (100%) rename {2018 => old/2018}/Day 01/input.txt (100%) rename {2018 => old/2018}/Day 02/Day 02.csproj (100%) rename {2018 => old/2018}/Day 02/Program.cs (100%) rename {2018 => old/2018}/Day 02/TaskPart1.txt (100%) rename {2018 => old/2018}/Day 02/TaskPart2.txt (100%) rename {2018 => old/2018}/Day 02/input.txt (100%) rename {2018 => old/2018}/Day 03/Claim.cs (100%) rename {2018 => old/2018}/Day 03/Day 03.csproj (100%) rename {2018 => old/2018}/Day 03/Program.cs (100%) rename {2018 => old/2018}/Day 03/TaskPart1.txt (100%) rename {2018 => old/2018}/Day 03/TaskPart2.txt (100%) rename {2018 => old/2018}/Day 03/input.txt (100%) rename {2018 => old/2018}/Day 04/Action.cs (100%) rename {2018 => old/2018}/Day 04/Day 04.csproj (100%) rename {2018 => old/2018}/Day 04/Day.cs (100%) rename {2018 => old/2018}/Day 04/Guard.cs (100%) rename {2018 => old/2018}/Day 04/Program.cs (100%) rename {2018 => old/2018}/Day 04/TaskPart1.txt (100%) rename {2018 => old/2018}/Day 04/input.txt (100%) rename {2019 => old/2019}/Day 01/Day 01.csproj (100%) rename {2019 => old/2019}/Day 01/Program.cs (100%) rename {2019 => old/2019}/Day 01/TaskPart1.txt (100%) rename {2019 => old/2019}/Day 01/TaskPart2.txt (100%) rename {2019 => old/2019}/Day 01/input.txt (100%) rename {2019 => old/2019}/Day 02/Day 02.csproj (100%) rename {2019 => old/2019}/Day 02/Program.cs (100%) rename {2019 => old/2019}/Day 02/TaskPart1.txt (100%) rename {2019 => old/2019}/Day 02/TaskPart2.txt (100%) rename {2019 => old/2019}/Day 02/input.txt (100%) rename {2019 => old/2019}/Day 03/Day 03.csproj (100%) rename {2019 => old/2019}/Day 03/Program.cs (100%) rename {2019 => old/2019}/Day 03/TaskPart1.txt (100%) rename {2019 => old/2019}/Day 03/TaskPart2.txt (100%) rename {2019 => old/2019}/Day 03/input.txt (100%) rename {2021 => old/2021}/01/01.csproj (100%) rename {2021 => old/2021}/01/Program.cs (100%) rename {2021 => old/2021}/01/TaskPart1.txt (100%) rename {2021 => old/2021}/01/TaskPart2.txt (100%) rename {2021 => old/2021}/01/input.txt (100%) rename {2021 => old/2021}/02/02.csproj (100%) rename {2021 => old/2021}/02/Program.cs (100%) rename {2021 => old/2021}/02/TaskPart1.txt (100%) rename {2021 => old/2021}/02/TaskPart2.txt (100%) rename {2021 => old/2021}/02/input.txt (100%) rename {2021 => old/2021}/03/03.csproj (100%) rename {2021 => old/2021}/03/BinaryData.cs (100%) rename {2021 => old/2021}/03/Program.cs (100%) rename {2021 => old/2021}/03/TaskPart1.txt (100%) rename {2021 => old/2021}/03/TaskPart2.txt (100%) rename {2021 => old/2021}/03/input.txt (100%) rename {2021 => old/2021}/04/04.csproj (100%) rename {2021 => old/2021}/04/Program.cs (100%) rename {2021 => old/2021}/04/TaskPart1.txt (100%) rename {2021 => old/2021}/04/TaskPart2.txt (100%) rename {2021 => old/2021}/04/input.txt (100%) rename {2021 => old/2021}/05/05.csproj (100%) rename {2021 => old/2021}/05/Program.cs (100%) rename {2021 => old/2021}/05/TaskPart1.txt (100%) rename {2021 => old/2021}/05/TaskPart2.txt (100%) rename {2021 => old/2021}/05/input.txt (100%) rename {2021 => old/2021}/06/06.csproj (99%) rename {2021 => old/2021}/06/Migrations/20211206123902_InitialCreate.Designer.cs (96%) rename {2021 => old/2021}/06/Migrations/20211206123902_InitialCreate.cs (96%) rename {2021 => old/2021}/06/Migrations/FishContextModelSnapshot.cs (96%) rename {2021 => old/2021}/06/Model.cs (96%) rename {2021 => old/2021}/06/Program.cs (100%) rename {2021 => old/2021}/06/TaskPart1.txt (100%) rename {2021 => old/2021}/06/TaskPart2.txt (100%) rename {2021 => old/2021}/06/input.txt (100%) rename {2021 => old/2021}/06/readme.md (98%) rename {2021 => old/2021}/07/07.csproj (100%) rename {2021 => old/2021}/07/Program.cs (100%) rename {2021 => old/2021}/07/TaskPart1.txt (100%) rename {2021 => old/2021}/07/TaskPart2.txt (100%) rename {2021 => old/2021}/07/input.txt (100%) rename {2021 => old/2021}/08/08.csproj (100%) rename {2021 => old/2021}/08/Program.cs (100%) rename {2021 => old/2021}/08/TaskPart1.txt (100%) rename {2021 => old/2021}/08/TaskPart2.txt (100%) rename {2021 => old/2021}/08/input.txt (100%) rename {2021 => old/2021}/09/09.csproj (100%) rename {2021 => old/2021}/09/Program.cs (100%) rename {2021 => old/2021}/09/TaskPart1.txt (100%) rename {2021 => old/2021}/09/TaskPart2.txt (100%) rename {2021 => old/2021}/09/input.txt (100%) rename {2021 => old/2021}/10/10.csproj (100%) rename {2021 => old/2021}/10/Program.cs (100%) rename {2021 => old/2021}/10/TaskPart1.txt (100%) rename {2021 => old/2021}/10/TaskPart2.txt (100%) rename {2021 => old/2021}/10/input.txt (100%) rename {2021 => old/2021}/11/11.csproj (100%) rename {2021 => old/2021}/11/Program.cs (100%) rename {2021 => old/2021}/11/TaskPart1.txt (100%) rename {2021 => old/2021}/11/TaskPart2.txt (100%) rename {2021 => old/2021}/11/input.txt (100%) rename {2021 => old/2021}/14/14.csproj (100%) rename {2021 => old/2021}/14/Program.cs (100%) rename {2021 => old/2021}/14/TaskPart1.txt (100%) rename {2021 => old/2021}/14/TaskPart2.txt (100%) rename {2021 => old/2021}/14/input.txt (100%) rename {2021 => old/2021}/15/15.csproj (100%) rename {2021 => old/2021}/15/Dijkstra.cs (100%) rename {2021 => old/2021}/15/Dijkstra1.cs (100%) rename {2021 => old/2021}/15/Program.cs (100%) rename {2021 => old/2021}/15/TaskPart1.txt (100%) rename {2021 => old/2021}/15/TaskPart2.txt (100%) rename {2021 => old/2021}/15/input.txt (100%) rename {2021 => old/2021}/16/16.csproj (100%) rename {2021 => old/2021}/16/Program.cs (100%) rename {2021 => old/2021}/16/TaskPart1.txt (100%) rename {2021 => old/2021}/16/TaskPart2.txt (100%) rename {2021 => old/2021}/16/input.txt (100%) rename {2021 => old/2021}/AOC2021.sln (100%) diff --git a/2018/Day 01/Day 01.csproj b/old/2018/Day 01/Day 01.csproj similarity index 100% rename from 2018/Day 01/Day 01.csproj rename to old/2018/Day 01/Day 01.csproj diff --git a/2018/Day 01/Program.cs b/old/2018/Day 01/Program.cs similarity index 100% rename from 2018/Day 01/Program.cs rename to old/2018/Day 01/Program.cs diff --git a/2018/Day 01/TaskPart1.txt b/old/2018/Day 01/TaskPart1.txt similarity index 100% rename from 2018/Day 01/TaskPart1.txt rename to old/2018/Day 01/TaskPart1.txt diff --git a/2018/Day 01/TaskPart2.txt b/old/2018/Day 01/TaskPart2.txt similarity index 100% rename from 2018/Day 01/TaskPart2.txt rename to old/2018/Day 01/TaskPart2.txt diff --git a/2018/Day 01/input.txt b/old/2018/Day 01/input.txt similarity index 100% rename from 2018/Day 01/input.txt rename to old/2018/Day 01/input.txt diff --git a/2018/Day 02/Day 02.csproj b/old/2018/Day 02/Day 02.csproj similarity index 100% rename from 2018/Day 02/Day 02.csproj rename to old/2018/Day 02/Day 02.csproj diff --git a/2018/Day 02/Program.cs b/old/2018/Day 02/Program.cs similarity index 100% rename from 2018/Day 02/Program.cs rename to old/2018/Day 02/Program.cs diff --git a/2018/Day 02/TaskPart1.txt b/old/2018/Day 02/TaskPart1.txt similarity index 100% rename from 2018/Day 02/TaskPart1.txt rename to old/2018/Day 02/TaskPart1.txt diff --git a/2018/Day 02/TaskPart2.txt b/old/2018/Day 02/TaskPart2.txt similarity index 100% rename from 2018/Day 02/TaskPart2.txt rename to old/2018/Day 02/TaskPart2.txt diff --git a/2018/Day 02/input.txt b/old/2018/Day 02/input.txt similarity index 100% rename from 2018/Day 02/input.txt rename to old/2018/Day 02/input.txt diff --git a/2018/Day 03/Claim.cs b/old/2018/Day 03/Claim.cs similarity index 100% rename from 2018/Day 03/Claim.cs rename to old/2018/Day 03/Claim.cs diff --git a/2018/Day 03/Day 03.csproj b/old/2018/Day 03/Day 03.csproj similarity index 100% rename from 2018/Day 03/Day 03.csproj rename to old/2018/Day 03/Day 03.csproj diff --git a/2018/Day 03/Program.cs b/old/2018/Day 03/Program.cs similarity index 100% rename from 2018/Day 03/Program.cs rename to old/2018/Day 03/Program.cs diff --git a/2018/Day 03/TaskPart1.txt b/old/2018/Day 03/TaskPart1.txt similarity index 100% rename from 2018/Day 03/TaskPart1.txt rename to old/2018/Day 03/TaskPart1.txt diff --git a/2018/Day 03/TaskPart2.txt b/old/2018/Day 03/TaskPart2.txt similarity index 100% rename from 2018/Day 03/TaskPart2.txt rename to old/2018/Day 03/TaskPart2.txt diff --git a/2018/Day 03/input.txt b/old/2018/Day 03/input.txt similarity index 100% rename from 2018/Day 03/input.txt rename to old/2018/Day 03/input.txt diff --git a/2018/Day 04/Action.cs b/old/2018/Day 04/Action.cs similarity index 100% rename from 2018/Day 04/Action.cs rename to old/2018/Day 04/Action.cs diff --git a/2018/Day 04/Day 04.csproj b/old/2018/Day 04/Day 04.csproj similarity index 100% rename from 2018/Day 04/Day 04.csproj rename to old/2018/Day 04/Day 04.csproj diff --git a/2018/Day 04/Day.cs b/old/2018/Day 04/Day.cs similarity index 100% rename from 2018/Day 04/Day.cs rename to old/2018/Day 04/Day.cs diff --git a/2018/Day 04/Guard.cs b/old/2018/Day 04/Guard.cs similarity index 100% rename from 2018/Day 04/Guard.cs rename to old/2018/Day 04/Guard.cs diff --git a/2018/Day 04/Program.cs b/old/2018/Day 04/Program.cs similarity index 100% rename from 2018/Day 04/Program.cs rename to old/2018/Day 04/Program.cs diff --git a/2018/Day 04/TaskPart1.txt b/old/2018/Day 04/TaskPart1.txt similarity index 100% rename from 2018/Day 04/TaskPart1.txt rename to old/2018/Day 04/TaskPart1.txt diff --git a/2018/Day 04/input.txt b/old/2018/Day 04/input.txt similarity index 100% rename from 2018/Day 04/input.txt rename to old/2018/Day 04/input.txt diff --git a/2019/Day 01/Day 01.csproj b/old/2019/Day 01/Day 01.csproj similarity index 100% rename from 2019/Day 01/Day 01.csproj rename to old/2019/Day 01/Day 01.csproj diff --git a/2019/Day 01/Program.cs b/old/2019/Day 01/Program.cs similarity index 100% rename from 2019/Day 01/Program.cs rename to old/2019/Day 01/Program.cs diff --git a/2019/Day 01/TaskPart1.txt b/old/2019/Day 01/TaskPart1.txt similarity index 100% rename from 2019/Day 01/TaskPart1.txt rename to old/2019/Day 01/TaskPart1.txt diff --git a/2019/Day 01/TaskPart2.txt b/old/2019/Day 01/TaskPart2.txt similarity index 100% rename from 2019/Day 01/TaskPart2.txt rename to old/2019/Day 01/TaskPart2.txt diff --git a/2019/Day 01/input.txt b/old/2019/Day 01/input.txt similarity index 100% rename from 2019/Day 01/input.txt rename to old/2019/Day 01/input.txt diff --git a/2019/Day 02/Day 02.csproj b/old/2019/Day 02/Day 02.csproj similarity index 100% rename from 2019/Day 02/Day 02.csproj rename to old/2019/Day 02/Day 02.csproj diff --git a/2019/Day 02/Program.cs b/old/2019/Day 02/Program.cs similarity index 100% rename from 2019/Day 02/Program.cs rename to old/2019/Day 02/Program.cs diff --git a/2019/Day 02/TaskPart1.txt b/old/2019/Day 02/TaskPart1.txt similarity index 100% rename from 2019/Day 02/TaskPart1.txt rename to old/2019/Day 02/TaskPart1.txt diff --git a/2019/Day 02/TaskPart2.txt b/old/2019/Day 02/TaskPart2.txt similarity index 100% rename from 2019/Day 02/TaskPart2.txt rename to old/2019/Day 02/TaskPart2.txt diff --git a/2019/Day 02/input.txt b/old/2019/Day 02/input.txt similarity index 100% rename from 2019/Day 02/input.txt rename to old/2019/Day 02/input.txt diff --git a/2019/Day 03/Day 03.csproj b/old/2019/Day 03/Day 03.csproj similarity index 100% rename from 2019/Day 03/Day 03.csproj rename to old/2019/Day 03/Day 03.csproj diff --git a/2019/Day 03/Program.cs b/old/2019/Day 03/Program.cs similarity index 100% rename from 2019/Day 03/Program.cs rename to old/2019/Day 03/Program.cs diff --git a/2019/Day 03/TaskPart1.txt b/old/2019/Day 03/TaskPart1.txt similarity index 100% rename from 2019/Day 03/TaskPart1.txt rename to old/2019/Day 03/TaskPart1.txt diff --git a/2019/Day 03/TaskPart2.txt b/old/2019/Day 03/TaskPart2.txt similarity index 100% rename from 2019/Day 03/TaskPart2.txt rename to old/2019/Day 03/TaskPart2.txt diff --git a/2019/Day 03/input.txt b/old/2019/Day 03/input.txt similarity index 100% rename from 2019/Day 03/input.txt rename to old/2019/Day 03/input.txt diff --git a/2021/01/01.csproj b/old/2021/01/01.csproj similarity index 100% rename from 2021/01/01.csproj rename to old/2021/01/01.csproj diff --git a/2021/01/Program.cs b/old/2021/01/Program.cs similarity index 100% rename from 2021/01/Program.cs rename to old/2021/01/Program.cs diff --git a/2021/01/TaskPart1.txt b/old/2021/01/TaskPart1.txt similarity index 100% rename from 2021/01/TaskPart1.txt rename to old/2021/01/TaskPart1.txt diff --git a/2021/01/TaskPart2.txt b/old/2021/01/TaskPart2.txt similarity index 100% rename from 2021/01/TaskPart2.txt rename to old/2021/01/TaskPart2.txt diff --git a/2021/01/input.txt b/old/2021/01/input.txt similarity index 100% rename from 2021/01/input.txt rename to old/2021/01/input.txt diff --git a/2021/02/02.csproj b/old/2021/02/02.csproj similarity index 100% rename from 2021/02/02.csproj rename to old/2021/02/02.csproj diff --git a/2021/02/Program.cs b/old/2021/02/Program.cs similarity index 100% rename from 2021/02/Program.cs rename to old/2021/02/Program.cs diff --git a/2021/02/TaskPart1.txt b/old/2021/02/TaskPart1.txt similarity index 100% rename from 2021/02/TaskPart1.txt rename to old/2021/02/TaskPart1.txt diff --git a/2021/02/TaskPart2.txt b/old/2021/02/TaskPart2.txt similarity index 100% rename from 2021/02/TaskPart2.txt rename to old/2021/02/TaskPart2.txt diff --git a/2021/02/input.txt b/old/2021/02/input.txt similarity index 100% rename from 2021/02/input.txt rename to old/2021/02/input.txt diff --git a/2021/03/03.csproj b/old/2021/03/03.csproj similarity index 100% rename from 2021/03/03.csproj rename to old/2021/03/03.csproj diff --git a/2021/03/BinaryData.cs b/old/2021/03/BinaryData.cs similarity index 100% rename from 2021/03/BinaryData.cs rename to old/2021/03/BinaryData.cs diff --git a/2021/03/Program.cs b/old/2021/03/Program.cs similarity index 100% rename from 2021/03/Program.cs rename to old/2021/03/Program.cs diff --git a/2021/03/TaskPart1.txt b/old/2021/03/TaskPart1.txt similarity index 100% rename from 2021/03/TaskPart1.txt rename to old/2021/03/TaskPart1.txt diff --git a/2021/03/TaskPart2.txt b/old/2021/03/TaskPart2.txt similarity index 100% rename from 2021/03/TaskPart2.txt rename to old/2021/03/TaskPart2.txt diff --git a/2021/03/input.txt b/old/2021/03/input.txt similarity index 100% rename from 2021/03/input.txt rename to old/2021/03/input.txt diff --git a/2021/04/04.csproj b/old/2021/04/04.csproj similarity index 100% rename from 2021/04/04.csproj rename to old/2021/04/04.csproj diff --git a/2021/04/Program.cs b/old/2021/04/Program.cs similarity index 100% rename from 2021/04/Program.cs rename to old/2021/04/Program.cs diff --git a/2021/04/TaskPart1.txt b/old/2021/04/TaskPart1.txt similarity index 100% rename from 2021/04/TaskPart1.txt rename to old/2021/04/TaskPart1.txt diff --git a/2021/04/TaskPart2.txt b/old/2021/04/TaskPart2.txt similarity index 100% rename from 2021/04/TaskPart2.txt rename to old/2021/04/TaskPart2.txt diff --git a/2021/04/input.txt b/old/2021/04/input.txt similarity index 100% rename from 2021/04/input.txt rename to old/2021/04/input.txt diff --git a/2021/05/05.csproj b/old/2021/05/05.csproj similarity index 100% rename from 2021/05/05.csproj rename to old/2021/05/05.csproj diff --git a/2021/05/Program.cs b/old/2021/05/Program.cs similarity index 100% rename from 2021/05/Program.cs rename to old/2021/05/Program.cs diff --git a/2021/05/TaskPart1.txt b/old/2021/05/TaskPart1.txt similarity index 100% rename from 2021/05/TaskPart1.txt rename to old/2021/05/TaskPart1.txt diff --git a/2021/05/TaskPart2.txt b/old/2021/05/TaskPart2.txt similarity index 100% rename from 2021/05/TaskPart2.txt rename to old/2021/05/TaskPart2.txt diff --git a/2021/05/input.txt b/old/2021/05/input.txt similarity index 100% rename from 2021/05/input.txt rename to old/2021/05/input.txt diff --git a/2021/06/06.csproj b/old/2021/06/06.csproj similarity index 99% rename from 2021/06/06.csproj rename to old/2021/06/06.csproj index 8af3444..d461f4e 100644 --- a/2021/06/06.csproj +++ b/old/2021/06/06.csproj @@ -8,12 +8,12 @@ enable - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + diff --git a/2021/06/Migrations/20211206123902_InitialCreate.Designer.cs b/old/2021/06/Migrations/20211206123902_InitialCreate.Designer.cs similarity index 96% rename from 2021/06/Migrations/20211206123902_InitialCreate.Designer.cs rename to old/2021/06/Migrations/20211206123902_InitialCreate.Designer.cs index 51400dc..8e960c4 100644 --- a/2021/06/Migrations/20211206123902_InitialCreate.Designer.cs +++ b/old/2021/06/Migrations/20211206123902_InitialCreate.Designer.cs @@ -1,37 +1,37 @@ -// -using Day06; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -#nullable disable - -namespace _06.Migrations -{ - [DbContext(typeof(FishContext))] - [Migration("20211206123902_InitialCreate")] - partial class InitialCreate - { - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder.HasAnnotation("ProductVersion", "6.0.0"); - - modelBuilder.Entity("Day06.Fish", b => - { - b.Property("FishId") - .ValueGeneratedOnAdd() - .HasColumnType("INTEGER"); - - b.Property("InternalTimer") - .HasColumnType("INTEGER"); - - b.HasKey("FishId"); - - b.ToTable("Fishes"); - }); -#pragma warning restore 612, 618 - } - } -} +// +using Day06; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +#nullable disable + +namespace _06.Migrations +{ + [DbContext(typeof(FishContext))] + [Migration("20211206123902_InitialCreate")] + partial class InitialCreate + { + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder.HasAnnotation("ProductVersion", "6.0.0"); + + modelBuilder.Entity("Day06.Fish", b => + { + b.Property("FishId") + .ValueGeneratedOnAdd() + .HasColumnType("INTEGER"); + + b.Property("InternalTimer") + .HasColumnType("INTEGER"); + + b.HasKey("FishId"); + + b.ToTable("Fishes"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/2021/06/Migrations/20211206123902_InitialCreate.cs b/old/2021/06/Migrations/20211206123902_InitialCreate.cs similarity index 96% rename from 2021/06/Migrations/20211206123902_InitialCreate.cs rename to old/2021/06/Migrations/20211206123902_InitialCreate.cs index b7c0eba..36c2f96 100644 --- a/2021/06/Migrations/20211206123902_InitialCreate.cs +++ b/old/2021/06/Migrations/20211206123902_InitialCreate.cs @@ -1,31 +1,31 @@ -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace _06.Migrations -{ - public partial class InitialCreate : Migration - { - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "Fishes", - columns: table => new - { - FishId = table.Column(type: "INTEGER", nullable: false) - .Annotation("Sqlite:Autoincrement", true), - InternalTimer = table.Column(type: "INTEGER", nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_Fishes", x => x.FishId); - }); - } - - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "Fishes"); - } - } -} +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace _06.Migrations +{ + public partial class InitialCreate : Migration + { + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "Fishes", + columns: table => new + { + FishId = table.Column(type: "INTEGER", nullable: false) + .Annotation("Sqlite:Autoincrement", true), + InternalTimer = table.Column(type: "INTEGER", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Fishes", x => x.FishId); + }); + } + + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "Fishes"); + } + } +} diff --git a/2021/06/Migrations/FishContextModelSnapshot.cs b/old/2021/06/Migrations/FishContextModelSnapshot.cs similarity index 96% rename from 2021/06/Migrations/FishContextModelSnapshot.cs rename to old/2021/06/Migrations/FishContextModelSnapshot.cs index 015225e..5fe183f 100644 --- a/2021/06/Migrations/FishContextModelSnapshot.cs +++ b/old/2021/06/Migrations/FishContextModelSnapshot.cs @@ -1,35 +1,35 @@ -// -using Day06; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -#nullable disable - -namespace _06.Migrations -{ - [DbContext(typeof(FishContext))] - partial class FishContextModelSnapshot : ModelSnapshot - { - protected override void BuildModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder.HasAnnotation("ProductVersion", "6.0.0"); - - modelBuilder.Entity("Day06.Fish", b => - { - b.Property("FishId") - .ValueGeneratedOnAdd() - .HasColumnType("INTEGER"); - - b.Property("InternalTimer") - .HasColumnType("INTEGER"); - - b.HasKey("FishId"); - - b.ToTable("Fishes"); - }); -#pragma warning restore 612, 618 - } - } -} +// +using Day06; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +#nullable disable + +namespace _06.Migrations +{ + [DbContext(typeof(FishContext))] + partial class FishContextModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder.HasAnnotation("ProductVersion", "6.0.0"); + + modelBuilder.Entity("Day06.Fish", b => + { + b.Property("FishId") + .ValueGeneratedOnAdd() + .HasColumnType("INTEGER"); + + b.Property("InternalTimer") + .HasColumnType("INTEGER"); + + b.HasKey("FishId"); + + b.ToTable("Fishes"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/2021/06/Model.cs b/old/2021/06/Model.cs similarity index 96% rename from 2021/06/Model.cs rename to old/2021/06/Model.cs index d68cff8..27604ab 100644 --- a/2021/06/Model.cs +++ b/old/2021/06/Model.cs @@ -1,31 +1,31 @@ -using System; -using System.Collections.Generic; -using Microsoft.EntityFrameworkCore; - -namespace Day06 -{ - public class FishContext : DbContext - { - public DbSet Fishes { get; set; } - - public string DbPath { get; } - - public FishContext() - { - var folder = Environment.SpecialFolder.LocalApplicationData; - var path = Environment.GetFolderPath(folder); - DbPath = System.IO.Path.Join(path, "fishes.db"); - } - - // The following configures EF to create a Sqlite database file in the - // special "local" folder for your platform. - protected override void OnConfiguring(DbContextOptionsBuilder options) - => options.UseSqlite($"Data Source={DbPath}"); - } - - public class Fish - { - public int FishId { get; set; } - public int InternalTimer { get; set; } - } +using System; +using System.Collections.Generic; +using Microsoft.EntityFrameworkCore; + +namespace Day06 +{ + public class FishContext : DbContext + { + public DbSet Fishes { get; set; } + + public string DbPath { get; } + + public FishContext() + { + var folder = Environment.SpecialFolder.LocalApplicationData; + var path = Environment.GetFolderPath(folder); + DbPath = System.IO.Path.Join(path, "fishes.db"); + } + + // The following configures EF to create a Sqlite database file in the + // special "local" folder for your platform. + protected override void OnConfiguring(DbContextOptionsBuilder options) + => options.UseSqlite($"Data Source={DbPath}"); + } + + public class Fish + { + public int FishId { get; set; } + public int InternalTimer { get; set; } + } } \ No newline at end of file diff --git a/2021/06/Program.cs b/old/2021/06/Program.cs similarity index 100% rename from 2021/06/Program.cs rename to old/2021/06/Program.cs diff --git a/2021/06/TaskPart1.txt b/old/2021/06/TaskPart1.txt similarity index 100% rename from 2021/06/TaskPart1.txt rename to old/2021/06/TaskPart1.txt diff --git a/2021/06/TaskPart2.txt b/old/2021/06/TaskPart2.txt similarity index 100% rename from 2021/06/TaskPart2.txt rename to old/2021/06/TaskPart2.txt diff --git a/2021/06/input.txt b/old/2021/06/input.txt similarity index 100% rename from 2021/06/input.txt rename to old/2021/06/input.txt diff --git a/2021/06/readme.md b/old/2021/06/readme.md similarity index 98% rename from 2021/06/readme.md rename to old/2021/06/readme.md index cf5d3eb..93ffd8f 100644 --- a/2021/06/readme.md +++ b/old/2021/06/readme.md @@ -1,3 +1,3 @@ -Run dotnet ef database update to initialise the database -Delete the database if you want to run the code again +Run dotnet ef database update to initialise the database +Delete the database if you want to run the code again It's at C:\Users\Josh\AppData\Local as fishes.db and other associated files \ No newline at end of file diff --git a/2021/07/07.csproj b/old/2021/07/07.csproj similarity index 100% rename from 2021/07/07.csproj rename to old/2021/07/07.csproj diff --git a/2021/07/Program.cs b/old/2021/07/Program.cs similarity index 100% rename from 2021/07/Program.cs rename to old/2021/07/Program.cs diff --git a/2021/07/TaskPart1.txt b/old/2021/07/TaskPart1.txt similarity index 100% rename from 2021/07/TaskPart1.txt rename to old/2021/07/TaskPart1.txt diff --git a/2021/07/TaskPart2.txt b/old/2021/07/TaskPart2.txt similarity index 100% rename from 2021/07/TaskPart2.txt rename to old/2021/07/TaskPart2.txt diff --git a/2021/07/input.txt b/old/2021/07/input.txt similarity index 100% rename from 2021/07/input.txt rename to old/2021/07/input.txt diff --git a/2021/08/08.csproj b/old/2021/08/08.csproj similarity index 100% rename from 2021/08/08.csproj rename to old/2021/08/08.csproj diff --git a/2021/08/Program.cs b/old/2021/08/Program.cs similarity index 100% rename from 2021/08/Program.cs rename to old/2021/08/Program.cs diff --git a/2021/08/TaskPart1.txt b/old/2021/08/TaskPart1.txt similarity index 100% rename from 2021/08/TaskPart1.txt rename to old/2021/08/TaskPart1.txt diff --git a/2021/08/TaskPart2.txt b/old/2021/08/TaskPart2.txt similarity index 100% rename from 2021/08/TaskPart2.txt rename to old/2021/08/TaskPart2.txt diff --git a/2021/08/input.txt b/old/2021/08/input.txt similarity index 100% rename from 2021/08/input.txt rename to old/2021/08/input.txt diff --git a/2021/09/09.csproj b/old/2021/09/09.csproj similarity index 100% rename from 2021/09/09.csproj rename to old/2021/09/09.csproj diff --git a/2021/09/Program.cs b/old/2021/09/Program.cs similarity index 100% rename from 2021/09/Program.cs rename to old/2021/09/Program.cs diff --git a/2021/09/TaskPart1.txt b/old/2021/09/TaskPart1.txt similarity index 100% rename from 2021/09/TaskPart1.txt rename to old/2021/09/TaskPart1.txt diff --git a/2021/09/TaskPart2.txt b/old/2021/09/TaskPart2.txt similarity index 100% rename from 2021/09/TaskPart2.txt rename to old/2021/09/TaskPart2.txt diff --git a/2021/09/input.txt b/old/2021/09/input.txt similarity index 100% rename from 2021/09/input.txt rename to old/2021/09/input.txt diff --git a/2021/10/10.csproj b/old/2021/10/10.csproj similarity index 100% rename from 2021/10/10.csproj rename to old/2021/10/10.csproj diff --git a/2021/10/Program.cs b/old/2021/10/Program.cs similarity index 100% rename from 2021/10/Program.cs rename to old/2021/10/Program.cs diff --git a/2021/10/TaskPart1.txt b/old/2021/10/TaskPart1.txt similarity index 100% rename from 2021/10/TaskPart1.txt rename to old/2021/10/TaskPart1.txt diff --git a/2021/10/TaskPart2.txt b/old/2021/10/TaskPart2.txt similarity index 100% rename from 2021/10/TaskPart2.txt rename to old/2021/10/TaskPart2.txt diff --git a/2021/10/input.txt b/old/2021/10/input.txt similarity index 100% rename from 2021/10/input.txt rename to old/2021/10/input.txt diff --git a/2021/11/11.csproj b/old/2021/11/11.csproj similarity index 100% rename from 2021/11/11.csproj rename to old/2021/11/11.csproj diff --git a/2021/11/Program.cs b/old/2021/11/Program.cs similarity index 100% rename from 2021/11/Program.cs rename to old/2021/11/Program.cs diff --git a/2021/11/TaskPart1.txt b/old/2021/11/TaskPart1.txt similarity index 100% rename from 2021/11/TaskPart1.txt rename to old/2021/11/TaskPart1.txt diff --git a/2021/11/TaskPart2.txt b/old/2021/11/TaskPart2.txt similarity index 100% rename from 2021/11/TaskPart2.txt rename to old/2021/11/TaskPart2.txt diff --git a/2021/11/input.txt b/old/2021/11/input.txt similarity index 100% rename from 2021/11/input.txt rename to old/2021/11/input.txt diff --git a/2021/14/14.csproj b/old/2021/14/14.csproj similarity index 100% rename from 2021/14/14.csproj rename to old/2021/14/14.csproj diff --git a/2021/14/Program.cs b/old/2021/14/Program.cs similarity index 100% rename from 2021/14/Program.cs rename to old/2021/14/Program.cs diff --git a/2021/14/TaskPart1.txt b/old/2021/14/TaskPart1.txt similarity index 100% rename from 2021/14/TaskPart1.txt rename to old/2021/14/TaskPart1.txt diff --git a/2021/14/TaskPart2.txt b/old/2021/14/TaskPart2.txt similarity index 100% rename from 2021/14/TaskPart2.txt rename to old/2021/14/TaskPart2.txt diff --git a/2021/14/input.txt b/old/2021/14/input.txt similarity index 100% rename from 2021/14/input.txt rename to old/2021/14/input.txt diff --git a/2021/15/15.csproj b/old/2021/15/15.csproj similarity index 100% rename from 2021/15/15.csproj rename to old/2021/15/15.csproj diff --git a/2021/15/Dijkstra.cs b/old/2021/15/Dijkstra.cs similarity index 100% rename from 2021/15/Dijkstra.cs rename to old/2021/15/Dijkstra.cs diff --git a/2021/15/Dijkstra1.cs b/old/2021/15/Dijkstra1.cs similarity index 100% rename from 2021/15/Dijkstra1.cs rename to old/2021/15/Dijkstra1.cs diff --git a/2021/15/Program.cs b/old/2021/15/Program.cs similarity index 100% rename from 2021/15/Program.cs rename to old/2021/15/Program.cs diff --git a/2021/15/TaskPart1.txt b/old/2021/15/TaskPart1.txt similarity index 100% rename from 2021/15/TaskPart1.txt rename to old/2021/15/TaskPart1.txt diff --git a/2021/15/TaskPart2.txt b/old/2021/15/TaskPart2.txt similarity index 100% rename from 2021/15/TaskPart2.txt rename to old/2021/15/TaskPart2.txt diff --git a/2021/15/input.txt b/old/2021/15/input.txt similarity index 100% rename from 2021/15/input.txt rename to old/2021/15/input.txt diff --git a/2021/16/16.csproj b/old/2021/16/16.csproj similarity index 100% rename from 2021/16/16.csproj rename to old/2021/16/16.csproj diff --git a/2021/16/Program.cs b/old/2021/16/Program.cs similarity index 100% rename from 2021/16/Program.cs rename to old/2021/16/Program.cs diff --git a/2021/16/TaskPart1.txt b/old/2021/16/TaskPart1.txt similarity index 100% rename from 2021/16/TaskPart1.txt rename to old/2021/16/TaskPart1.txt diff --git a/2021/16/TaskPart2.txt b/old/2021/16/TaskPart2.txt similarity index 100% rename from 2021/16/TaskPart2.txt rename to old/2021/16/TaskPart2.txt diff --git a/2021/16/input.txt b/old/2021/16/input.txt similarity index 100% rename from 2021/16/input.txt rename to old/2021/16/input.txt diff --git a/2021/AOC2021.sln b/old/2021/AOC2021.sln similarity index 100% rename from 2021/AOC2021.sln rename to old/2021/AOC2021.sln