Skip to content

bartvanackooij/adventofcode2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code 2021 🎄

Prep for new day.

In an attempt to simplify the every day workflow I wrote a script to set up the initial working dirs, files and input from adventofcode.com. All you need to do is set the session cookie from advent of code in your repo and run the script with the current day like this:

$ ./new_day.sh 06
  1. get your session cookie from the developer tools in your browser and store it in a file called 'session_cookie.txt' in the root directory.

Screenshot

Solutions:

  1. Go to the corresponding day folder (e.g. days/day01)

  2. Run the following

python3 -m venv .venv
$ . .venv/bin/activate
(.venv) $ python3 -m pip install -r requirements.txt
(.venv) $ python3 main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published