{"id":15626613,"url":"https://github.com/chaelcodes/advent-of-code-2019","last_synced_at":"2025-07-19T16:13:30.973Z","repository":{"id":82567218,"uuid":"225921086","full_name":"ChaelCodes/Advent-of-Code-2019","owner":"ChaelCodes","description":"The repo for my advent of code solutions - 2019 - Video tutorials on YouTube.","archived":false,"fork":false,"pushed_at":"2019-12-05T19:52:35.000Z","size":6,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T18:35:08.588Z","etag":null,"topics":["advent-of-code","advent-of-code-2019","ruby"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/playlist?list=PLJgbigg8xpeVXoTAhn4dDpXMY9-cvwTlB","language":"Ruby","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/ChaelCodes.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":"2019-12-04T17:27:08.000Z","updated_at":"2020-03-05T02:13:41.000Z","dependencies_parsed_at":"2023-03-06T09:15:37.805Z","dependency_job_id":null,"html_url":"https://github.com/ChaelCodes/Advent-of-Code-2019","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/ChaelCodes%2FAdvent-of-Code-2019","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaelCodes%2FAdvent-of-Code-2019/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaelCodes%2FAdvent-of-Code-2019/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaelCodes%2FAdvent-of-Code-2019/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChaelCodes","download_url":"https://codeload.github.com/ChaelCodes/Advent-of-Code-2019/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246217333,"owners_count":20742176,"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","advent-of-code-2019","ruby"],"created_at":"2024-10-03T10:13:08.956Z","updated_at":"2025-03-29T17:24:52.775Z","avatar_url":"https://github.com/ChaelCodes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Advent of Code 2019\n[Advent of Code](https://adventofcode.com/) is a yearly advent calendar with coding puzzles. These are my solutions for 2019's puzzles! I'm uploading myself solving these puzzles over on [my YouTube channel.](https://www.youtube.com/playlist?list=PLJgbigg8xpeVXoTAhn4dDpXMY9-cvwTlB)\n\nI've set up a few helper scripts to make AoC puzzles easier. reindeer.rb will accept a day and puzzle param, and run the algo from day_#.rb. wreath.rb will accept a day, puzzle, and input, and test day_#.rb on a particular input. Many of the puzzles are parsed in the same way, so nutcracker.rb will crack the code and parse inputs in standard formats. My personal inputs are stored as day_#_input.txt.\n\n## How to use this repo\nPull down the repo locally.\nHave ruby installed.\n\n### Getting an Answer\n\n- Save input from Advent of Code as day_#_input.txt\n- Open a console with ruby installed.\n- Run reindeer.rb with the arguments: day, puzzle\n```\nruby reindeer.rb \u003cday\u003e \u003cpuzzle\u003e\n\n# Example for first puzzle of day 1\nruby reindeer.rb 1 1\n# Example for second puzzle of day 1\nruby reindeer.rb 1 2\n# Example for first puzzle of day 3\nruby reindeer.rb 3 1\n```\nThis will pull your stored input, parse it, and run the algorithm located in `day_1.rb` or `day_3.rb` depending on the day specified.\n\n### Testing your Algorithm\n\n- Open a console with ruby installed.\n- Run wreath.rb wil the arguments: day, puzzle, input\n```\nruby wreath.rb \u003cday\u003e \u003cpuzzle\u003e \u003cinput\u003e\n\n# This will test day 1's first puzzle using 14 as an input\nruby wreath.rb 1 1 14\n# returns 2\n\n# This will test day 3's second puzzle using 12 as an input\nruby wrath.rb 3 2 [['R8','U5','L5','D3'], ['U7','R6','D4','L4']]\n# returns 6\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaelcodes%2Fadvent-of-code-2019","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaelcodes%2Fadvent-of-code-2019","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaelcodes%2Fadvent-of-code-2019/lists"}