Showing content from https://github.com/staylorwr/elixir_aoc below:
staylorwr/elixir_aoc: A simple skeleton for solving the Advent of Code with Elixir
Skip to content Navigation Menu
Search code, repositories, users, issues, pull requests...
Saved searches Use saved searches to filter your results more quickly
Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert staylorwr/elixir_aoc Repository files navigation
Elixir Advent of Code Skeleton
A simple starter app for Advent of Code.
Using a fork of this repo you can run:
mix aoc.gen DAY [--year YEAR]
Running mix aoc.gen 1
(at the start of the 2018 advent of code) will:
- Generate a new module based on the title of the problem at
lib/aoc/year_2018/day_01/problem_title.ex
- Roughly parse the html description of the problem into
@moduledoc
markdown.
- Use your session token to download your unique problem input into
priv
- Generate a test file ready to solve the examples and pull in the saved problem input with tags (so slow running, complex days can be skipped later on).
- Fork this repo
- Grab your browser's session key from Advent Of Code and set it as an environment variable. (Chrome Developer Tools > Application > Cookies > session)
- Run
mix aoc.gen 1
to generate your content for the first day
- Read the new module's docs, solve the first part of the problem with TDD 😄.
- Run
mix aoc.gen 1
again to append the second part of the problem to your moduledocs.
- Get all the stars.
About
A simple skeleton for solving the Advent of Code with Elixir
Topics Resources Stars Watchers Forks
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4