Skip to content

Solutions, scripting, and templates for adventofcode.com

License

Notifications You must be signed in to change notification settings

Javran/advent-of-code

Repository files navigation

Javran's Advent of Code

Solutions, scripting, and templates - all in one repo.

Progress

2023

<++++++++> <++++++++> <++++++++> <++++++++> <++++++++>
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

2022

<++++++++> <++++++++> <++++++++> <++++++++> <++++++++>
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

2021

<++++++++> <++++++++> <++++++++> <++++++++> <++++++++>
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

2020

<++++++++> <++++++++> <++++++++> <++++++++> <++++++++>
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

2019

<++++++++> <++++++++> <++++++++> <++++++++> <++++++++>
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

2018

<++++++++> <++++++++> <++++++++> <++++++++> <++++++++>
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

2017

<++++++++> <++++++++> <++++++++> <++++++++> <++++++++>
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

2016

<++++++++> <++++++++> <++++++++> <++++++++> <++++++++>
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

2015

<++++++++> <++++++++> <++++++++> <++++++++> <++++++++>
Day 1 Day 2 Day 3 Day 4 Day 5
Day 6 Day 7 Day 8 Day 9 Day 10
Day 11 Day 12 Day 13 Day 14 Day 15
Day 16 Day 17 Day 18 Day 19 Day 20
Day 21 Day 22 Day 23 Day 24 Day 25

Run solutions

Environment variables required:

  • PROJECT_HOME: path to project home
  • ADVENT_OF_CODE_SESSION: session value for downloading input files, this can be found in request header using web browsers.

To run:

PROJECT_HOME=/path/to/project/home
ADVENT_OF_CODE_SESSION=<cookie session>
stack build && stack exec -- run-advent-of-code <year> <day>

Data sources

Files under data/download/ directory (intentionally ignored from VCS) are downloaded from Advent of Code.

Files with name *.input.txt or *.expect.txt under data/testdata/ directory are manually maintained but some of them are originated from problem descriptions from Advent of Code.

About

Solutions, scripting, and templates for adventofcode.com

Topics

Resources

License

Stars

Watchers

Forks