DEV Community

shushugah
shushugah

Posted on • Edited on

18 9

Gitlab 'hacks'

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)])})

Enter fullscreen mode Exit fullscreen mode

See image below for results!

Graph of pixels representing coding activity on Gitlab homepage, with varying shades of blue. The darker, the more productive.

Why choose a platform when you can have both? 💩

Github productivity chart, however with Gitlab and Github mishmash of blue and green tiles

Thanks to lukeshiru for their vanilla javascript solutions + GitHub script!

Comment Not Found

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (2)

Collapse
 
jacobherrington profile image
Jacob Herrington (he/him)

Lol

Make that screenshot your linkedin banner

Collapse
 
shushugah profile image
shushugah

Good catch! I changed variables and forgot to update my copy/paste last minute!

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more