{"id":19916005,"url":"https://github.com/szhu/sublimelinter-cs162","last_synced_at":"2026-06-10T19:31:03.179Z","repository":{"id":69589771,"uuid":"47842702","full_name":"szhu/SublimeLinter-cs162","owner":"szhu","description":"Lint UC Berkeley CS 162 Pintos projects.","archived":false,"fork":false,"pushed_at":"2015-12-11T23:51:55.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-24T03:11:35.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/szhu.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}},"created_at":"2015-12-11T18:03:18.000Z","updated_at":"2023-09-08T17:04:34.000Z","dependencies_parsed_at":"2023-03-13T20:24:58.459Z","dependency_job_id":null,"html_url":"https://github.com/szhu/SublimeLinter-cs162","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/szhu/SublimeLinter-cs162","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FSublimeLinter-cs162","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FSublimeLinter-cs162/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FSublimeLinter-cs162/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FSublimeLinter-cs162/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szhu","download_url":"https://codeload.github.com/szhu/SublimeLinter-cs162/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FSublimeLinter-cs162/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34168086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-12T21:43:13.964Z","updated_at":"2026-06-10T19:31:03.164Z","avatar_url":"https://github.com/szhu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"SublimeLinter-cs162\n=========================\n\nThis linter plugin for SublimeLinter provides an interface to any C compiler output served at http://192.168.162.162:16280.\n\nIt is intended to be used with the Pintos VM from UC Berkeley's CS 162 course, so that you can see compile-time errors without needing to run make manually. Here's a screenshot:\n\n\u003cimg width=\"376\" src=\"https://cloud.githubusercontent.com/assets/1570168/11751469/84a2160c-9fee-11e5-9028-d79342d34187.png\"\u003e\n\n\nTo use this, you need to follow these steps:\n\n\n## Installing\n\nShort version: this plugin has the following dependency tree:\n\n - **SublimeLinter-cs162**\n     - requires **Package Decontrol** to install\n     - requires **SublimeLinter3** to run\n         - requires **Package Control** to install\n         - requires **Sublime Text 3** to run\n\nLong version:\n\n1. Make sure you are on **Sublime Text 3** (for SublimeLinter3 to work).  \n   If not, [download it here](\u003chttp://www.sublimetext.com/3\u003e).\n\n2. Make sure you have **Package Control** installed (for installing SublimeLinter3).  \n   If not, follow [the instructions here](\u003chttps://packagecontrol.io/installation\u003e) to install.\n\n3. Make sure you have **SublimeLinter3** installed (for this plugin to work).  \n   If not, go to **Tools** \u003e **Command Palette…**, select **Package Control: Install Package**, then select **SublimeLinter**.\n\n4. Make sure you have **Package Decontrol** installed (for installing this plugin).  \n   If not, follow [the instructions here](\u003chttps://github.com/jfromaniello/Sublime-Package-Decontrol\u003e) to install.\n\n5. Make sure you have this plugin installed!  \n   If not, go to **Tools** \u003e **Command Palette…**, select **Package Decontrol: Install from GitHub**, then enter **szhu/SublimeLinter-cs162**.\n\n\n## Using\n\nThis linter repeatedly tries to fetch http://192.168.162.162:16280 and tries to parse it as GCC/Clang error output. To make this work, one last step is required. Inside your VM, you need to enter\n\n```shell\ncurl -fsL http://git.io/v0Yzx | python\n```\n\nand you need to keep this running as long as you want the linter to work. `^C` to stop this.\n\nAlternatives:\n\n- Want to run this in the background?  \n  `screen -d -m -- bash -c 'curl -fsL http://git.io/v0Yzx | python'` should do it.  \n  `screen -R` to switch to the screen where the server is running, and then `^C` to stop it.\n\n- Don't want to use Python? Here's an alternative that works almost perfectly… but because it doesn't support concurrent requests, the linter will sometimes show your errors after a subsequent save.  \n  `bash -c 'while true; do make -j 2\u003e\u00261 | nc -l 16280 \u003e /dev/null; done'`\n\n- The script at http://git.io/v0Yzx takes command line arguments. The syntax is:  \n  `curl -fsL http://git.io/v0Yzx | python - 'COMMAND TO RUN' PORT`  \n  where all three arguments are optional but must appear in that order.\n\n\n## Credit \n\nOriginal idea by [@szhu](\u003chttp://github.com/szhu\u003e).\n\nPlugin structure and regex from [nirm03/SublimeLinter-clang](\u003chttps://github.com/nirm03/SublimeLinter-clang\u003e).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszhu%2Fsublimelinter-cs162","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszhu%2Fsublimelinter-cs162","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszhu%2Fsublimelinter-cs162/lists"}