Skip to content
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01
02
03
04
05
06
07
08
09
10
12
16
common
.gitignore
LICENSE
README.md
advent_of_code_2019_trophy.png
journal.md

README.md

Advent of Code 2019

My solutions for https://adventofcode.com/2019

Some of us at work (https://www.thomasnet.com/) compete in a private leaderboard.

Each numbered directory contains that day's code. Within each dir, 1.js is part one and 2.js is part two. For example, to run part 1 of day 2:

Initial setup of common files:

cd common
npm install

Run day 2, part 1:

(Assuming the input is copied to your clipboard)
cd 2
npm install
pbpaste | ./1.js

To see the logger.debug output, set LOG_LEVEL env var to debug. For example:

pbpaste | LOG_LEVEL=debug ./1.js

My goals this year:

  1. Learning exercise. Try out some new functions/idioms/etc when possible.
  2. Win the trophy!

I started dumping some notes & thoughts into journal.md. I'm not sure I'll keep up with that.

The trophy

(Thanks to Georgia for help with the 3D-printed parts!)

Thomas trophy for Advent of Code 2019

You can’t perform that action at this time.