{"id":19519206,"url":"https://github.com/richmit/codebits","last_synced_at":"2025-11-18T19:03:18.934Z","repository":{"id":207929481,"uuid":"498958155","full_name":"richmit/codeBits","owner":"richmit","description":"Code Snippets","archived":false,"fork":false,"pushed_at":"2025-08-19T18:57:11.000Z","size":383,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T20:48:20.438Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richmit.png","metadata":{"files":{"readme":"README.md","changelog":"changelog-template/README.md","contributing":null,"funding":null,"license":"licenseFiles/default.txt","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,"zenodo":null}},"created_at":"2022-06-02T01:59:39.000Z","updated_at":"2025-08-19T18:57:15.000Z","dependencies_parsed_at":"2023-11-18T15:25:22.518Z","dependency_job_id":"4bf1aa38-33e4-4b40-a1b6-b7c8703b4630","html_url":"https://github.com/richmit/codeBits","commit_stats":null,"previous_names":["richmit/codebits"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/richmit/codeBits","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmit%2FcodeBits","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmit%2FcodeBits/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmit%2FcodeBits/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmit%2FcodeBits/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richmit","download_url":"https://codeload.github.com/richmit/codeBits/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richmit%2FcodeBits/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285119870,"owners_count":27118079,"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","status":"online","status_checked_at":"2025-11-18T02:00:05.759Z","response_time":61,"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-11T00:16:50.963Z","updated_at":"2025-11-18T19:03:18.921Z","avatar_url":"https://github.com/richmit.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code templates \u0026 Snippets\r\n\r\nThis repo houses various bits of code I use with Emacs to automate\r\nthings when I'm programming.\r\n\r\nFor example the templates and license files are used by Emacs via a\r\nfunction called MJR-prepend-header-der.  This function can figure out\r\nwhat header and/or template to apply to a buffer.  While doing that it\r\nwill also expand macros in the header template to current values.  It\r\nwill even add an appropriately formatted license/copyright notice.\r\nThis function can operate on one file or many via dired.\r\n\r\nThe cheaderSTD.txt file has a list of headers and the comment I like\r\nto include on them.  I have an Emacs function called\r\nMJR-fix-c-includes-der that finds includes, and updates them so they\r\nlook like the include lines in cheaderSTD.txt -- i.e. it formats them\r\nand adds the comment.  This function can operate on one file or many\r\nvia dired.\r\n\r\nLastly the bin directory contains some scripts I use within Emacs\r\norg-mode to generate web pages.  One can pull out various bits of\r\nheader information for inclusion into web pages.  In particular this\r\nscript can pull out the \"filedetails\" section from the header and\r\ntransform some Doxygen markdown into org-mode markdown.  The other\r\nscript pulls out the code itself and edits it for inclusion in\r\norg-mode documents as source blocks.\r\n\r\n-mitch\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichmit%2Fcodebits","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichmit%2Fcodebits","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichmit%2Fcodebits/lists"}