其他¶
实打实的 Go 项目,但是 Github 却统计为 JavaScript 怎么办:
原理:
Github 采用 Linguist 来自动识别你的代码,然后判断属于哪一种语言。
解决方法:
1. 在项目中增加更多的你所想要归属的语言的代码(综合性项目,最好是采用这种方式)。
2. 在项目中添加 .gitattributes:
*.js linguist-language=go
*.java linguist-language=go
工具¶
-
A tool for communities to measure and reward value creation
GitHub star ranking for users, organizations and repositories: https://gitstar-ranking.com/
团队¶
github上有贡献的所有人都有记录: https://github.com/all-contributors/all-contributors
https://github-readme-stats.vercel.app/api?username=zhaoweiguo&count_private=true&show_icons=true
Dynamically generated stats for your github readmes: https://github.com/anuraghazra/github-readme-stats
embed code-snippets¶
plain参数: https://github.com/tal-tech/go-zero/blob/master/readme.md?plain=1#L22-L25
embed gist code-snippets:
<script src="https://gist.github.com/DGrv/771dd2b1f9c05d8fcf17f3ff84bfc1f3.js"></script>
embed github code-snippets: https://kag0.github.io/sauce/
<script type='module' src="https://kag0.github.io/sauce/sauce.js"></script> <sauce-code repo="zhaoweiguo/demo-go" file="Dockerfile" lines="1:5"></sauce-code> // 指定 theme, lang: <sauce-code lang='html' theme='monokai-sublime' repo='kag0/sauce' file='example.html' ></sauce-code>
github 镜像¶
其他网站¶
GitHub Support: https://support.github.com/request