Ever wanted to look 'productive' on Gitlab? Paste this into your console. What are your favourite git related hacks? 😜
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)])})
See image below for results!
Why choose a platform when you can have both? 💩
Thanks to lukeshiru for their vanilla javascript solutions + GitHub script!
Comment Not Found
Top comments (2)
Lol
Make that screenshot your linkedin banner
Good catch! I changed variables and forgot to update my copy/paste last minute!