tdo

Dicing the onion
git clone git@abtrout.com:tdo.git
Log | Files | Refs | README

commit bd88f0b2456ded5878e7d27d4906c593767d4fd7
parent a1a609e40beea80e6207e00e379254735e38cd29
Author: david cochran <about.trout@gmail.com>
Date:   Sun,  9 Nov 2025 18:58:08 -0800

update README

Diffstat:
MREADME.md | 27+++++++++++++++++++++++++++
1 file changed, 27 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -1 +1,28 @@ My [Tom's Data Onion](https://www.tomdalling.com/toms-data-onion/) solutions. + +Each layer's solution is a separate binary in the `cmd` directory, which reads the previous layer's input from `stdin` and writes the next layer's output to `stdout`. Pipe all the layers together to solve the complete challenge! + +```shell +$ go build -o . ./cmd/... +$ cat input.txt | \ + ./layer0 | \ + ./layer1 | \ + ./layer2 | \ + ./layer3 | \ + ./layer4 | \ + ./layer5 | \ + ./layer6 | \ + head -n13 # no spoilers +==[ The Core ]============================================== + + ___ __ ________ ________ _________ ___ +|\ \ |\ \|\ __ \|\ __ \|\___ ___\\ \ +\ \ \ \ \ \ \ \|\ \ \ \|\ \|___ \ \_\ \ \ + \ \ \ __\ \ \ \ \\\ \ \ \\\ \ \ \ \ \ \ \ + \ \ \|\__\_\ \ \ \\\ \ \ \\\ \ \ \ \ \ \__\ + \ \____________\ \_______\ \_______\ \ \__\ \|__| + \|____________|\|_______|\|_______| \|__| ___ + |\__\ + \|__| + Congratulations! You've DICED this onion up! +```