Code

Cell: code

No documentation

Block: nixpkgs

No documentation

Block: challenges

This block houses all the implementations for the different challenges.

Target: day-01-part1

No description

For this day I selected plain old bash file because it was the first thing that came to mind and it was easy to set up (thanks to pkgs.writeShellApplication), but after I was done, I felt really dirty.

But the thing is, it IS really dirty. I just said “everything that is available, I can use” – and it was way too much. Even awk was available. Thankfully, I at least had the dignity to not use that.

Target: day-01-part2

No description

Target: day-02-part1

No description

Today was way nicer than yesterday. I think, mostly because I felt not so dirty for just abusing every thing that was available to me. This challenge I just did everything with pure fish builtins. I think.

Only thing I missed were booleans. Are there booleans? There might be, maybe I just assumed there weren’t. Still, I think my is_{inc,dec}reasing check was slick.

Target: day-02-part2

No description