{"id":17255026,"url":"https://github.com/tejashah88/comsc-165-scripts","last_synced_at":"2025-03-26T08:15:47.582Z","repository":{"id":72148843,"uuid":"148267061","full_name":"tejashah88/COMSC-165-scripts","owner":"tejashah88","description":"Collection of automation scripts for DVC's COMSC-165 Labs","archived":false,"fork":false,"pushed_at":"2018-11-14T23:13:47.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T09:30:42.681Z","etag":null,"topics":["automation","comsc-165","cs","dvc","scripts"],"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/tejashah88.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":"2018-09-11T05:50:53.000Z","updated_at":"2022-05-13T02:47:09.000Z","dependencies_parsed_at":"2023-07-04T05:47:00.358Z","dependency_job_id":null,"html_url":"https://github.com/tejashah88/COMSC-165-scripts","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/tejashah88%2FCOMSC-165-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejashah88%2FCOMSC-165-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejashah88%2FCOMSC-165-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tejashah88%2FCOMSC-165-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tejashah88","download_url":"https://codeload.github.com/tejashah88/COMSC-165-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245615009,"owners_count":20644376,"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":["automation","comsc-165","cs","dvc","scripts"],"created_at":"2024-10-15T07:10:32.428Z","updated_at":"2025-03-26T08:15:47.559Z","avatar_url":"https://github.com/tejashah88.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# COMSC-165-scripts\nThis repo containes a bunch of automation scripts for managing my DVC COMSC-165 labwork.\n\n\n## Lab creator\nIt creates a set of folders and C++ starter files to quickly get started with the labs.\n\n### First-time setup\nYou'll need to run this step if you want to run this command anywhere else.\n```bash\ncd lab-creator\nnpm link\n```\n\n### Usage\n```bash\ncreate-lab --id \u003cid\u003e --parts \u003cparts\u003e\n```\n\n* `id` = the identifier of a lab (ex. the ID in 'Lab 1A' is '1A')\n  * if the `id` is two characters big (like '1A' or '3D'), then the generated parts directory will be 'part-1', 'part-2', etc.\n  * if the `id` is one character big (like '2' or '6'), then the generated parts directory will be 'part-A', 'part-B', etc.\n* `parts` = the number of parts in a part\n\nThere's also a config that let's you edit some of the global settings. Duplicate `lab-creator/config.default.json`, call it `config.json`, and fill out all the fields.\n\nConfig settings:\n* `labs-directory` - The root directory of the labs\n* `course` - The course number (ex. COMSC-165)\n* `author` - Your name\n* `gist-code-url` (optional) - The url for pulling boilerplate code from a Gist hosted from GitHub.\n* `indentation` - Settings for indentation for the generated code\n  * `type` - either 'spaces' or 'tabs' (defaults to 'tabs')\n  * `amount` - The amount of spaces to indent with (doesn't apply to tabs)\n\n\n## Lab compiler\nIt compiles the code and screenshots into a Word document for each part detected.\n\n### First-time setup\nYou'll need to run this step if you want to run this command anywhere else.\n```bash\ncd lab-compiler\nnpm link\n```\n\n### Usage\n```bash\ncompile-lab --id \u003cid\u003e --part [part]\n```\n\n* `id` = the identifier of a lab (ex. the ID in 'Lab 1A' is '1A')\n  * if the `id` is two characters big (like '1A' or '3D'), then the expected parts directory will be 'part-1', 'part-2', etc.\n  * if the `id` is one character big (like '2' or '6'), then the expected parts directory will be 'part-A', 'part-B', etc.\n* `part` = the specific part number to compile; if this is left out, all parts will be compiled\n\nThere's also a config that let's you edit some of the global settings. Duplicate `lab-compiler/config.default.json`, call it `config.json`, and fill out all the fields.\n\nConfig settings:\n* `labs-directory` - The root directory of the labs\n* `author` - Your name\n\n\n## Lab cleaner\nIt cleans any generated files (i.e. '.exe', '.o', and '.docx' files) after you are done with a lab\n\n### First-time setup\nYou'll need to run this step if you want to run this command anywhere else.\n```bash\ncd lab-cleaner\nnpm link\n```\n\n### Usage\n```bash\nclean-labs\n```\n\nThere's also a config that let's you edit some of the global settings. Duplicate `lab-cleaner/config.default.json`, call it `config.json`, and fill out all the fields.\n\nConfig settings:\n* `labs-directory` - The root directory of the labs","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejashah88%2Fcomsc-165-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftejashah88%2Fcomsc-165-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftejashah88%2Fcomsc-165-scripts/lists"}