{"id":18002363,"url":"https://github.com/jaeyson/freecodecamp_elixir","last_synced_at":"2026-03-07T08:02:53.067Z","repository":{"id":40303865,"uuid":"111643794","full_name":"jaeyson/freecodecamp_elixir","owner":"jaeyson","description":"Solving exercises from Freecodecamp.org using Elixir programming language. Includes benchmarks and tests for every functions.","archived":false,"fork":false,"pushed_at":"2025-06-02T10:11:25.000Z","size":230,"stargazers_count":5,"open_issues_count":6,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-03T13:15:50.209Z","etag":null,"topics":["algorithm-scripting","elixir","elixir-lang","elixir-programming-language","exercises","freecodecamp","freecodecamp-elixir"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/freecodecamp_elixir","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaeyson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-11-22T06:13:33.000Z","updated_at":"2025-04-20T15:11:00.000Z","dependencies_parsed_at":"2024-10-29T23:55:03.043Z","dependency_job_id":null,"html_url":"https://github.com/jaeyson/freecodecamp_elixir","commit_stats":{"total_commits":113,"total_committers":7,"mean_commits":"16.142857142857142","dds":0.5221238938053097,"last_synced_commit":"b6c78e04cd8ddf59ea5ab95880f6ae0d9316e7d4"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jaeyson/freecodecamp_elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyson%2Ffreecodecamp_elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyson%2Ffreecodecamp_elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyson%2Ffreecodecamp_elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyson%2Ffreecodecamp_elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaeyson","download_url":"https://codeload.github.com/jaeyson/freecodecamp_elixir/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaeyson%2Ffreecodecamp_elixir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30209797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T05:23:27.321Z","status":"ssl_error","status_checked_at":"2026-03-07T05:00:17.256Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["algorithm-scripting","elixir","elixir-lang","elixir-programming-language","exercises","freecodecamp","freecodecamp-elixir"],"created_at":"2024-10-29T23:21:17.044Z","updated_at":"2026-03-07T08:02:53.037Z","avatar_url":"https://github.com/jaeyson.png","language":"Elixir","readme":"# Freecodecamp exercises using Elixir\n\nSolving exercises from Freecodecamp.org using Elixir programming language. Includes benchmarks and tests for every functions.\n\n[//]: # \"Badges\"\n\n[![Last Commit][commit-badge]](https://github.com/jaeyson/freecodecamp_elixir/commit/main)\n[![Commit activity][pulse-badge]](https://github.com/jaeyson/freecodecamp_elixir/pulse)\n[![Dependabot][dependabot-badge]](https://github.com/jaeyson/freecodecamp_elixir/pulls/app%2Fdependabot)\n[![Actions Status][actions-badge]](https://github.com/jaeyson/freecodecamp_elixir/actions)\n[![Coverage][coverage-badge]](https://coveralls.io/github/jaeyson/freecodecamp_elixir?branch=main)\n[![Hex.pm][hex-badge]](https://hex.pm/packages/freecodecamp_elixir)\n[![Hexdocs][hexdocs-badge]](https://hexdocs.pm/freecodecamp_elixir)\n\n\u003c!--\n[//]: # This didn't render well on hexdocs, idk why\n[//]: # \"Badges\"\n[![Last Commit][commit-badge]][commit]\n[![Commit activity][pulse-badge]][pulse]\n[![Dependabot][dependabot-badge]][dependabot]\n[![Actions Status][actions-badge]][actions]\n[![Coverage][coverage-badge]][coverage]\n[![Hex.pm][hex-badge]][hex]\n\n[//]: # \"Links\"\n[commit]: https://github.com/jaeyson/freecodecamp_elixir/commit/main\n[pulse]: https://github.com/jaeyson/freecodecamp_elixir/pulse\n[dependabot]: https://github.com/jaeyson/freecodecamp_elixir/pulls/app%2Fdependabot\n[actions]: https://github.com/jaeyson/freecodecamp_elixir/actions\n[coverage]: https://coveralls.io/github/jaeyson/freecodecamp_elixir?branch=main\n[hex]: https://hex.pm/packages/freecodecamp_elixir\n[hexdocs]: https://hexdocs.pm/freecodecamp_elixir\n--\u003e\n\n[//]: # \"Image sources\"\n[commit-badge]: https://img.shields.io/github/last-commit/jaeyson/freecodecamp_elixir.svg\n[pulse-badge]: https://img.shields.io/github/commit-activity/m/jaeyson/freecodecamp_elixir\n[dependabot-badge]: https://img.shields.io/badge/Dependabot-enabled-green\n[actions-badge]: https://github.com/jaeyson/freecodecamp_elixir/actions/workflows/ci.yml/badge.svg\n[coverage-badge]: https://coveralls.io/repos/github/jaeyson/freecodecamp_elixir/badge.svg?branch=main\n[hex-badge]: https://img.shields.io/hexpm/v/freecodecamp_elixir\n[hexdocs-badge]: https://img.shields.io/badge/hex-docs-blue\n\nFolders that are interesting to read can be found at:\n\n- [`lib/`](https://github.com/jaeyson/freecodecamp_elixir/tree/main/lib/)\n- [`test/`](https://github.com/jaeyson/freecodecamp_elixir/tree/main/test/)\n\n## Elixir installation\n\nEither use [Docker](https://docs.docker.com/get-docker/), this Docker automated install script `curl -sSL https://get.docker.com/ | sh`, or use [`asdf`](https://asdf-vm.com/#/core-manage-asdf).\n\n## Using Docker\n\nusing `docker_start` shell script (use wsl on windows or git bash, otherwise this works both ?mac? and linux), or see the file if you want to use docker commands instead.\n\n```bash\n# I haven't tried this both on windows and mac, YMMV\nsource docker_start\n```\n\nWhy `source docker_start` instead of `chmod +x ./docker_start`? read [run bash script doesn't work alias command](https://unix.stackexchange.com/a/386455/437416).\n\n#### Getting dependencies\n\n```bash\nmix deps.get --only test\n```\n\n#### Launch REPL\n\n```bash\niex -S mix\n```\n\n#### Stopping **Elixir** container, remove alias created by shell script\n\n```bash\n# where \"elixir\" is the name of the container\ndocker container stop elixir\n\n# temporary alias are not persisted across different sessions\n# but if you want to remove them\nunalias elixir iex mix elixirc\n```\n\n## Create Pre-commit Hook\n\n```bash\nmix precommit\n```\n\n## Test\n\n```bash\nmix test\n```\n\n#### Coverage\n\n```bash\nmix text --cover\n```\n\n#### Selective tests\n\n```bash\n# i.e. you want to test only \"Basic Algorithms\"\nmix selective_test basic_algo\n\n# or more, separated by spaces\nmix selective_test basic_algo intermediate_algo\n\n# basic_algo        = Basic Algorithm Scripting\n# intermediate_algo = Intermediate Algorithm Scripting\n```\n\n## Generate `HTML` Docs\n\n```bash\n# running this generates docs in \"doc/\" directory\nmix docs\n```\n\n## Benchmarks (using Benchee)\n\n```bash\n# view benchmark commands\nmix help benchmark\n```\n\n```bash\n# list available functions\nmix benchmark --list\n```\n\n```bash\n# specific function\nmix benchmark mutation\n```\n\n```bash\n# benchmark results saved as html in \"benchmarks/\" directory\nmix benchmark mutation --html\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaeyson%2Ffreecodecamp_elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaeyson%2Ffreecodecamp_elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaeyson%2Ffreecodecamp_elixir/lists"}