Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.27 KB

README.md

File metadata and controls

29 lines (21 loc) · 1.27 KB

AdventOfCode 2024

AdventOfCode.com is a fun little yearly coding challenge. The problems start generally approachable, but were designed by people with twisty minds, and naive solutions can run into challenges. People can use this to learn a new programming language, or to flex their skills on their daily language. It's a fun way to form a community among developers.

Stack:

  • Rust

Layout

Usage

  • cargo run -- -d1 -p1 download
  • cargo run -- -d1 -p1 puzzle
  • RUST_LOG=info RUST_BACKTRACE=1 cargo watch -x "run -- -d1 -p1 puzzle"
  • cargo run -- -d1 -p1 puzzle --submit

Authentication

  • Go to AdventOfCode, login to your account.
  • Open DevTools, find the Storage->Cookies
  • Find the session cookie, and copy its value
  • pbpaste > ~/.adventofcode.session