{"id":16752947,"url":"https://github.com/amtoine/advent-of-code","last_synced_at":"2025-03-21T22:32:13.480Z","repository":{"id":64215504,"uuid":"535613782","full_name":"amtoine/advent-of-code","owner":"amtoine","description":"A collection of solutions for the advent of code event each year from 2015.","archived":false,"fork":false,"pushed_at":"2024-12-21T08:42:50.000Z","size":407,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T05:51:15.982Z","etag":null,"topics":["aoc","event","programming"],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amtoine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-09-12T10:23:55.000Z","updated_at":"2024-06-09T17:56:21.000Z","dependencies_parsed_at":"2023-12-21T00:27:13.764Z","dependency_job_id":"bb0afee7-9fb9-4d0c-bcf0-fb0499265261","html_url":"https://github.com/amtoine/advent-of-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amtoine%2Fadvent-of-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amtoine%2Fadvent-of-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amtoine%2Fadvent-of-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amtoine%2Fadvent-of-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amtoine","download_url":"https://codeload.github.com/amtoine/advent-of-code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244880450,"owners_count":20525507,"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":["aoc","event","programming"],"created_at":"2024-10-13T02:48:45.136Z","updated_at":"2025-03-21T22:32:13.118Z","avatar_url":"https://github.com/amtoine.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# advent-of-code\nA collection of solutions for the advent of code event each year from 2015.\n\n## Disclaimer\nThis repo contains my personal solutions to the challenges in the \"Advent of Code\" events.\nYou might get spoiled.\nYou are warned!\n\nOtherwise, enjoy my solutions :wink:\n\n## The list of events\n| year                                  | OCaml                        | Nushell                                                                       | Oberon                                                                 |\n| ------------------------------------- | ---------------------------- | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------- |\n| [2023](https://adventofcode.com/2023) | [here](solutions/2023/ocaml) |                                                                               |                                                                        |\n| [2022](https://adventofcode.com/2022) |                              | [here](https://github.com/amtoine/advent-of-code/tree/2022/solutions/nushell) |                                                                        |\n| [2021](https://adventofcode.com/2021) |                              |                                                                               | [here](https://github.com/amtoine/advent-of-code/tree/2021/challenges) |\n| [2020](https://adventofcode.com/2020) |                              |                                                                               |                                                                        |\n| [2019](https://adventofcode.com/2019) |                              |                                                                               |                                                                        |\n| [2018](https://adventofcode.com/2018) |                              |                                                                               |                                                                        |\n| [2017](https://adventofcode.com/2017) |                              |                                                                               |                                                                        |\n| [2016](https://adventofcode.com/2016) |                              |                                                                               |                                                                        |\n| [2015](https://adventofcode.com/2015) |                              |                                                                               |                                                                        |\n\n## Some language specific instructions\n- [OCaml](docs/ocaml.md)\n\n## Get the input\nthe input for the challenges is different for each user and thus requires a session cookie.\n\n### get the cookie\nplease follow the steps in [wimglenn/advent-of-code-wim#1](https://github.com/wimglenn/advent-of-code-wim/issues/1) to get your personal session cookie :thumbsup:\n\n### store the cookie\naccording to [this sub reddit](https://www.reddit.com/r/adventofcode/comments/z9dhtd/please_include_your_contact_info_in_the_useragent/),\none should also include their email in the metadata of the GET requests :ok_hand:\n\nplease store your information in a NUON file with the following format:\n```nushell\n{\n    cookie: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n    mail: \"xxxx@xxx.xxx\"\n}\n```\n\ni also recommend encrypting this sensitive file with\n```shell\ngpg --symmetric --armor --cipher-algo \u003calgo\u003e \u003cfile\u003e\n```\nto have it available as a `.asc` file.\n\n### fetch the data\nwith Nushell,\n```nushell\nuse toolkit.nu\ntoolkit aoc get-data --help\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famtoine%2Fadvent-of-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famtoine%2Fadvent-of-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famtoine%2Fadvent-of-code/lists"}