An open API service indexing awesome lists of open source software.

https://github.com/phansch/aoc

Solutions for Advent of Code
https://github.com/phansch/aoc

Last synced: 8 months ago
JSON representation

Solutions for Advent of Code

Awesome Lists containing this project

README

          

# Advent of code

Solutions for https://adventofcode.com

### new_day script

Start a new day by running `. ./new_day N` where N is the number of the challenge.

That script automates a bunch of stuff, because my time is limited:

1. Sets up a new rust binary project in the `dayN` directory
2. Downloads the input for the first part of the challenge into the root of that project
3. Copies over the `main.rs` from the template file
4. `cd`s into the project and opens up the `main.rs` in vim.

Note that day1 and day2 don't contain both solutions because they weren't tracked in git at the time.