Skip to content

RobinCamarasa/Advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code

Advent of code offers every year nice problems to practice your coding. I take this as an excuse to learn or refresh my knowledge of a programming language:

Automation

Installation

  • Add an environment variable storing the cookie to advent of code export AOC_COOKIE="session=#SECRET#" (highly recommend direnv for this)
  • Create your base code for the year in resources/[ YYYY ] (knowing that the data are located)

Usage

  • Run the following command to generate the project in the language of the year, get the the input of the day, print the url of today's puzzle in the clipboard, and add the puzzle instruction as a README.md
make start
  • It also works for other days and years
make start DAY='[ DAY ]' YEAR='[ YEAR ]'

Worth noticing

  • If the folder already exist it will not be recreated
  • The test data are not parsed automatically

Notes

  • I lost the commit history of the early year
  • Some absolute paths can be found here and there sorry about that...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published