{"id":17990429,"url":"https://github.com/ericwang401/tsa-coding-2021-2022","last_synced_at":"2026-05-09T10:14:38.409Z","repository":{"id":42069737,"uuid":"481244236","full_name":"ericwang401/tsa-coding-2021-2022","owner":"ericwang401","description":"This is the solution to the 2021-2022 OKTSA SLC High School Coding Competition","archived":false,"fork":false,"pushed_at":"2023-09-17T13:51:05.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-09T15:26:59.266Z","etag":null,"topics":["competitive-programming","docker","javascript","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ericwang401.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":"performave","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-04-13T14:13:35.000Z","updated_at":"2022-04-14T03:38:13.000Z","dependencies_parsed_at":"2024-10-29T20:02:44.101Z","dependency_job_id":null,"html_url":"https://github.com/ericwang401/tsa-coding-2021-2022","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/ericwang401%2Ftsa-coding-2021-2022","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericwang401%2Ftsa-coding-2021-2022/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericwang401%2Ftsa-coding-2021-2022/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericwang401%2Ftsa-coding-2021-2022/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericwang401","download_url":"https://codeload.github.com/ericwang401/tsa-coding-2021-2022/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247117746,"owners_count":20886439,"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":["competitive-programming","docker","javascript","nodejs"],"created_at":"2024-10-29T19:17:55.733Z","updated_at":"2026-05-09T10:14:38.352Z","avatar_url":"https://github.com/ericwang401.png","language":"JavaScript","funding_links":["https://patreon.com/performave","https://www.patreon.com/performave"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eHigh School Coding Competition For \u003ca href=\"https://oktsa.org\"\u003eOKTSA\u003c/a\u003e 2021-2022 State Leadership Conference\u003c/h1\u003e\n\n\u003e 😋 This is an example submission that was actually created during the conference\n\n## Project Tech Stack\n\n* Node.JS - Serverside Javascript Runtime (The project is coded in Javascript)\n* Docker - Enterprise containerization platform (The development environment was set up using Docker containers)\n\n## Structure\n\n**All source code is under the `src` folder**\n\n* numbers.js - convert each digit to the English word\n* pangram.js - check if an input uses at least 1 of each letter in the English alphabet\n⋅⋅⋅ If the input uses at least 1 of each letter, print the duplicate letters\n\n⋅⋅⋅ If the input doesn't use at least 1 of each letter, print the missing letters\n* primes.js - check if a number is a prime number \u003ca href=\"https://www.techtarget.com/whatis/definition/prime-number#:~:text=A%20prime%20number%20is%20a,factors%20are%20called%20composite%20numbers.\"\u003e(what is a prime number?)\u003c/a\u003e\n* timeCalculator.js - for the first input you give HH:MM AM/PM, then for the second input you input how much you want to add/subtract on the first input you added (ex: +03:00 - add 3 hours, -04:20 - minus 4 hours and 20 minutes)\n* unitConversions.js - oh boy, this is hard to explain because it was the last prompt and the hardest to implement.\n⋅⋅⋅ we have US imperial units (volume and weight) that we want to convert to metric\n⋅⋅⋅ basically we have to convert different types of units, see the instructions below to kinda see how it works\n⋅⋅⋅ I really can't explain this, sorry\n\n## How do I use this\n\nIf you have not already installed Docker, please install it from [Docker.com](https://docker.com)\n\n1. Run `docker-compose up -d workspace` in the project root `tsa-coding`\n2. Run `docker-compose exec workspace bash` in the project root to access the development environment\n3. Change the directory to `/src` by executing `cd src`\n\n\nNow that you are able to run the code, here's some example demonstrations you can run\n\n### numbers.js\n\n1. Run `node numbers.js`\n2. Input any number (e.g. 420)\n3. It will tell you each digit in the English word equivalent (e.g. Four Two Zero)\n\n### pangram.js\n\n1. Run `node pangram.js`\n2. Input any phrase or sentence (e.g. Team Fourty Four is the best team ever!)\n3. It will tell you if it is a pangram or not\n* If it is, it will tell you the duplicate letters\n* If it isn't, it will give you the missing letters that it needs to be a pangram\n\n### primes.js\n\n1. Run `node primes.js`\n2. Input any number (e.g. 69420)\n3. It will tell you if it's prime or not\n4. ???\n5. profit\n\n### timeCalculator.js\n\n1. Run `node timeCalculator.js`\n2. Input an initial time (e.g. 04:20 PM) and press enter\n3. Input the value you want to modify the time by (e.g. +02:20 or -11:43) and press enter\n4. It will tell you what the final time would be after doing the operation\n\n### unitConversions.js\n\n1. Run `node unitConversions.js`\n2. Input a value like `4 tbsp vanilla extract x2`\n3. It will convert 4 tbsp to metric (mL) and multiply it by `2`\n4. Output should be like `120 mL vanilla extract`\n\n## Author\n\n👤 **Eric Wang**\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/ericwang401/tsa-coding-2021-2022/issues).\n\n## Show your support\n\nGive a ⭐️ if this app helped you!\n\nPlease donate to [my Patreon](https://www.patreon.com/performave) to help let me keep working on these amazing open-source projects!\n\n## 📝 License\n\nCopyright © 2022 [Eric Wang](https://github.com/ericwang401).\u003cbr /\u003e\nThis project is [MIT](https://github.com/ericwang401/tsa-coding-2021-2022/blob/main/LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericwang401%2Ftsa-coding-2021-2022","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericwang401%2Ftsa-coding-2021-2022","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericwang401%2Ftsa-coding-2021-2022/lists"}