{"id":22436466,"url":"https://github.com/marcinruszkiewicz/advent_of_code_2024","last_synced_at":"2025-03-27T08:42:45.537Z","repository":{"id":265964699,"uuid":"896988100","full_name":"marcinruszkiewicz/advent_of_code_2024","owner":"marcinruszkiewicz","description":"Elixir solutions for 2024 Advent of Code","archived":false,"fork":false,"pushed_at":"2024-12-08T20:53:33.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T13:41:36.234Z","etag":null,"topics":["advent-of-code","adventofcode","elixir"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcinruszkiewicz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-01T19:37:52.000Z","updated_at":"2024-12-08T20:53:37.000Z","dependencies_parsed_at":"2024-12-01T20:40:09.175Z","dependency_job_id":null,"html_url":"https://github.com/marcinruszkiewicz/advent_of_code_2024","commit_stats":null,"previous_names":["marcinruszkiewicz/advent_of_code_2024"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcinruszkiewicz%2Fadvent_of_code_2024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcinruszkiewicz%2Fadvent_of_code_2024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcinruszkiewicz%2Fadvent_of_code_2024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcinruszkiewicz%2Fadvent_of_code_2024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcinruszkiewicz","download_url":"https://codeload.github.com/marcinruszkiewicz/advent_of_code_2024/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245813166,"owners_count":20676763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["advent-of-code","adventofcode","elixir"],"created_at":"2024-12-06T00:07:26.830Z","updated_at":"2025-03-27T08:42:45.516Z","avatar_url":"https://github.com/marcinruszkiewicz.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AdventOfCode2024\n\nElixir solutions for the [2024 Advent of Code](https://adventofcode.com/2024) puzzles.\n\n## Importing puzzle data\n\nPuzzle data is generated on the AoC website. You need to grab your session cookie and put it into a `config/secrets.exs` file, after that you can run `mix input 1 2024` to get the inputs for day 1 of AoC 2024.\n\n- `priv` directory - put your puzzle data here with proper name (`day_200.txt` etc)\n\n## Solving a puzzle\n\n- `test/examples` directory - put your example data here with a proper name (`day200.txt` etc)\n- create an `AdventOfCode.Day200` module in `lib/advent_of_code/day_200.ex`. Needs to have a `part1` and an `part2` public methods, so that you can use the mix tasks to run them, otherwise it can use whatever you like.\n- create a `tests/day200_test.exs` so that you can run tests: \n\n```assert Day200.part2(\"test/examples/day200.txt\") == 12345```\n\n## Running the puzzle solvers\n\nUse the mix tasks. They both take the module name as an argument:\n\n- `mix part1 Day200` solves the part one of the given puzzle using the `part1` method\n- `mix part2 Day200` solves the part two of the given puzzle using the `part2` method\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcinruszkiewicz%2Fadvent_of_code_2024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcinruszkiewicz%2Fadvent_of_code_2024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcinruszkiewicz%2Fadvent_of_code_2024/lists"}