GitLab“技巧”
想在 GitLab 上看起来“效率很高”吗?把这段代码粘贴到控制台里。你最喜欢的 Git 小技巧是什么?😜
colors = [`rgb(172, 213, 242)`,
`rgb(127, 168, 201)`,
`rgb(82, 123, 160)`,
`rgb(37, 78, 119)`]
$(".user-contrib-cell").each(function(){ $(this).attr("fill", colors[Math.floor(Math.random()*colors.length)])})
结果请见下图!
既然可以两者兼得,何必二选一呢?💩
感谢lukeshiru提供的原生 JavaScript 解决方案和 GitHub 脚本!
文章来源:https://dev.to/shushugah/gitlab-hacks-28cg


评论未找到