From 27a935933cb00c7e7b9bdc205b557388a23d6498 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sun, 10 Dec 2023 14:03:24 +0000 Subject: [PATCH] Rename for better sorting on github --- README.md | 18 +++++++++--------- {day1 => day01}/eg1.txt | 0 {day1 => day01}/eg2.txt | 0 {day1 => day01}/input.txt | 0 {day1 => day01}/solution.py | 0 {day2 => day02}/eg.txt | 0 {day2 => day02}/input.txt | 0 {day2 => day02}/solution.py | 0 {day3 => day03}/eg.txt | 0 {day3 => day03}/input.txt | 0 {day3 => day03}/solution.ts | 0 {day4 => day04}/eg.txt | 0 {day4 => day04}/go.mod | 0 {day4 => day04}/input.txt | 0 {day4 => day04}/solution.go | 0 {day5 => day05}/.gitignore | 0 {day5 => day05}/.idea/.gitignore | 0 {day5 => day05}/.idea/day5.iml | 0 {day5 => day05}/.idea/kotlinc.xml | 0 .../.idea/libraries/KotlinJavaRuntime.xml | 0 {day5 => day05}/.idea/misc.xml | 0 {day5 => day05}/.idea/modules.xml | 0 {day5 => day05}/.idea/vcs.xml | 0 {day5 => day05}/eg.txt | 0 {day5 => day05}/input.txt | 0 {day5 => day05}/solution.kt | 0 {day6 => day06}/eg.txt | 0 {day6 => day06}/input.txt | 0 {day6 => day06}/solution.hs | 0 {day7 => day07}/eg.txt | 0 {day7 => day07}/input.txt | 0 {day7 => day07}/solution.js | 0 {day8 => day08}/eg1.txt | 0 {day8 => day08}/eg2.txt | 0 {day8 => day08}/eg3.txt | 0 {day8 => day08}/input.txt | 0 {day8 => day08}/solution.sh | 0 {day9 => day09}/.gitignore | 0 {day9 => day09}/Cargo.lock | 0 {day9 => day09}/Cargo.toml | 0 {day9 => day09}/eg.txt | 0 {day9 => day09}/input.txt | 0 {day9 => day09}/src/main.rs | 0 43 files changed, 9 insertions(+), 9 deletions(-) rename {day1 => day01}/eg1.txt (100%) rename {day1 => day01}/eg2.txt (100%) rename {day1 => day01}/input.txt (100%) rename {day1 => day01}/solution.py (100%) rename {day2 => day02}/eg.txt (100%) rename {day2 => day02}/input.txt (100%) rename {day2 => day02}/solution.py (100%) rename {day3 => day03}/eg.txt (100%) rename {day3 => day03}/input.txt (100%) rename {day3 => day03}/solution.ts (100%) rename {day4 => day04}/eg.txt (100%) rename {day4 => day04}/go.mod (100%) rename {day4 => day04}/input.txt (100%) rename {day4 => day04}/solution.go (100%) rename {day5 => day05}/.gitignore (100%) rename {day5 => day05}/.idea/.gitignore (100%) rename {day5 => day05}/.idea/day5.iml (100%) rename {day5 => day05}/.idea/kotlinc.xml (100%) rename {day5 => day05}/.idea/libraries/KotlinJavaRuntime.xml (100%) rename {day5 => day05}/.idea/misc.xml (100%) rename {day5 => day05}/.idea/modules.xml (100%) rename {day5 => day05}/.idea/vcs.xml (100%) rename {day5 => day05}/eg.txt (100%) rename {day5 => day05}/input.txt (100%) rename {day5 => day05}/solution.kt (100%) rename {day6 => day06}/eg.txt (100%) rename {day6 => day06}/input.txt (100%) rename {day6 => day06}/solution.hs (100%) rename {day7 => day07}/eg.txt (100%) rename {day7 => day07}/input.txt (100%) rename {day7 => day07}/solution.js (100%) rename {day8 => day08}/eg1.txt (100%) rename {day8 => day08}/eg2.txt (100%) rename {day8 => day08}/eg3.txt (100%) rename {day8 => day08}/input.txt (100%) rename {day8 => day08}/solution.sh (100%) rename {day9 => day09}/.gitignore (100%) rename {day9 => day09}/Cargo.lock (100%) rename {day9 => day09}/Cargo.toml (100%) rename {day9 => day09}/eg.txt (100%) rename {day9 => day09}/input.txt (100%) rename {day9 => day09}/src/main.rs (100%) diff --git a/README.md b/README.md index 186e860..1f01100 100644 --- a/README.md +++ b/README.md @@ -11,39 +11,39 @@ I'll probably try to vary languages a bit to get some variety. ## Solutions -### [Day 1](day1/) +### [Day 1](day01/) **Language**: Python 3.12 (generics used) -### [Day 2](day2/) +### [Day 2](day02/) **Language**: Python 3 -### [Day 3](day3/) +### [Day 3](day03/) **Language**: TypeScript (Deno) **Note**: This one was re-written because what I initially wrote belongs on [r/programminghorror](https://www.reddit.com/r/programminghorror/). -### [Day 4](day4/) +### [Day 4](day04/) **Language**: Golang -### [Day 5](day5/) +### [Day 5](day05/) **Language**: Kotlin **Note**: Here begin the optimisations! (some people got away with brute force, I decided not to even go there). -### [Day 6](day6/) +### [Day 6](day06/) **Language**: Haskell -### [Day 7](day7/) +### [Day 7](day07/) **Language**: JavaScript (Node) **Note**: Yes, I used JSDoc for type-hints. But I think only insane people use JavaScript without JSDoc. -### [Day 8](day8/) +### [Day 8](day08/) **Language**: Bash **Note**: Here begin languages I'm not great at. -### [Day 9](day9/) +### [Day 9](day09/) **Language**: Rust ### [Day 10](day10/) diff --git a/day1/eg1.txt b/day01/eg1.txt similarity index 100% rename from day1/eg1.txt rename to day01/eg1.txt diff --git a/day1/eg2.txt b/day01/eg2.txt similarity index 100% rename from day1/eg2.txt rename to day01/eg2.txt diff --git a/day1/input.txt b/day01/input.txt similarity index 100% rename from day1/input.txt rename to day01/input.txt diff --git a/day1/solution.py b/day01/solution.py similarity index 100% rename from day1/solution.py rename to day01/solution.py diff --git a/day2/eg.txt b/day02/eg.txt similarity index 100% rename from day2/eg.txt rename to day02/eg.txt diff --git a/day2/input.txt b/day02/input.txt similarity index 100% rename from day2/input.txt rename to day02/input.txt diff --git a/day2/solution.py b/day02/solution.py similarity index 100% rename from day2/solution.py rename to day02/solution.py diff --git a/day3/eg.txt b/day03/eg.txt similarity index 100% rename from day3/eg.txt rename to day03/eg.txt diff --git a/day3/input.txt b/day03/input.txt similarity index 100% rename from day3/input.txt rename to day03/input.txt diff --git a/day3/solution.ts b/day03/solution.ts similarity index 100% rename from day3/solution.ts rename to day03/solution.ts diff --git a/day4/eg.txt b/day04/eg.txt similarity index 100% rename from day4/eg.txt rename to day04/eg.txt diff --git a/day4/go.mod b/day04/go.mod similarity index 100% rename from day4/go.mod rename to day04/go.mod diff --git a/day4/input.txt b/day04/input.txt similarity index 100% rename from day4/input.txt rename to day04/input.txt diff --git a/day4/solution.go b/day04/solution.go similarity index 100% rename from day4/solution.go rename to day04/solution.go diff --git a/day5/.gitignore b/day05/.gitignore similarity index 100% rename from day5/.gitignore rename to day05/.gitignore diff --git a/day5/.idea/.gitignore b/day05/.idea/.gitignore similarity index 100% rename from day5/.idea/.gitignore rename to day05/.idea/.gitignore diff --git a/day5/.idea/day5.iml b/day05/.idea/day5.iml similarity index 100% rename from day5/.idea/day5.iml rename to day05/.idea/day5.iml diff --git a/day5/.idea/kotlinc.xml b/day05/.idea/kotlinc.xml similarity index 100% rename from day5/.idea/kotlinc.xml rename to day05/.idea/kotlinc.xml diff --git a/day5/.idea/libraries/KotlinJavaRuntime.xml b/day05/.idea/libraries/KotlinJavaRuntime.xml similarity index 100% rename from day5/.idea/libraries/KotlinJavaRuntime.xml rename to day05/.idea/libraries/KotlinJavaRuntime.xml diff --git a/day5/.idea/misc.xml b/day05/.idea/misc.xml similarity index 100% rename from day5/.idea/misc.xml rename to day05/.idea/misc.xml diff --git a/day5/.idea/modules.xml b/day05/.idea/modules.xml similarity index 100% rename from day5/.idea/modules.xml rename to day05/.idea/modules.xml diff --git a/day5/.idea/vcs.xml b/day05/.idea/vcs.xml similarity index 100% rename from day5/.idea/vcs.xml rename to day05/.idea/vcs.xml diff --git a/day5/eg.txt b/day05/eg.txt similarity index 100% rename from day5/eg.txt rename to day05/eg.txt diff --git a/day5/input.txt b/day05/input.txt similarity index 100% rename from day5/input.txt rename to day05/input.txt diff --git a/day5/solution.kt b/day05/solution.kt similarity index 100% rename from day5/solution.kt rename to day05/solution.kt diff --git a/day6/eg.txt b/day06/eg.txt similarity index 100% rename from day6/eg.txt rename to day06/eg.txt diff --git a/day6/input.txt b/day06/input.txt similarity index 100% rename from day6/input.txt rename to day06/input.txt diff --git a/day6/solution.hs b/day06/solution.hs similarity index 100% rename from day6/solution.hs rename to day06/solution.hs diff --git a/day7/eg.txt b/day07/eg.txt similarity index 100% rename from day7/eg.txt rename to day07/eg.txt diff --git a/day7/input.txt b/day07/input.txt similarity index 100% rename from day7/input.txt rename to day07/input.txt diff --git a/day7/solution.js b/day07/solution.js similarity index 100% rename from day7/solution.js rename to day07/solution.js diff --git a/day8/eg1.txt b/day08/eg1.txt similarity index 100% rename from day8/eg1.txt rename to day08/eg1.txt diff --git a/day8/eg2.txt b/day08/eg2.txt similarity index 100% rename from day8/eg2.txt rename to day08/eg2.txt diff --git a/day8/eg3.txt b/day08/eg3.txt similarity index 100% rename from day8/eg3.txt rename to day08/eg3.txt diff --git a/day8/input.txt b/day08/input.txt similarity index 100% rename from day8/input.txt rename to day08/input.txt diff --git a/day8/solution.sh b/day08/solution.sh similarity index 100% rename from day8/solution.sh rename to day08/solution.sh diff --git a/day9/.gitignore b/day09/.gitignore similarity index 100% rename from day9/.gitignore rename to day09/.gitignore diff --git a/day9/Cargo.lock b/day09/Cargo.lock similarity index 100% rename from day9/Cargo.lock rename to day09/Cargo.lock diff --git a/day9/Cargo.toml b/day09/Cargo.toml similarity index 100% rename from day9/Cargo.toml rename to day09/Cargo.toml diff --git a/day9/eg.txt b/day09/eg.txt similarity index 100% rename from day9/eg.txt rename to day09/eg.txt diff --git a/day9/input.txt b/day09/input.txt similarity index 100% rename from day9/input.txt rename to day09/input.txt diff --git a/day9/src/main.rs b/day09/src/main.rs similarity index 100% rename from day9/src/main.rs rename to day09/src/main.rs