Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

jonatcln/advent-of-code-2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2020

My solutions to Advent of Code 2020 in Python 3 and Rust.

Scripts

To auto-download your input of a given day, add these variables to a .env file:

AOC_SESSION=<session_cookie>
AOC_YEAR=2020

Then run (for day 1):

$ sh aoci.sh 1
Loading .env
Retrieving input of Advent of Code 2020, day 1
Requesting https://adventofcode.com/2020/day/1/input
Writing input to 'input/day01.txt'
COMPLETED

This will write your input to a file named input/day01.txt.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.