January 30, 2019

Eloquent trick no.1 - Replace conditionals with "when"

It happens very often that we want to apply certain eloquent query conditions based on what a request sends in. Sometimes it’s a "search by name" thing, other times we just need to filter the records based on a status column. Usually it looks like...

January 20, 2019

Change git user information for all commits

It happened way too many times to push commits without realizing the author information was wrong. To fix it, I used to rebase, mark each commit to edit, and set the correct information. Today I found out there is a better way. The command bellow...

November 23, 2018

Dust off your inner designer with tailwindcss

Designing UIs is hard, especially if you’re a backend developer. When bootstrap came along everybody was cheering - finally something we can use! No more wasted hours on fiddling out the interface. Look up the documentation, copy&paste the examples...

Constantin Druc

Hi, I'm Constantin!

I am a full stack developer sharing everything I know here on my blog and through my screencasts.

What's your e-mail?

Get a monthly digest of what I've been up to: screencasts, blogposts, and other goodies.

No spam. Unsubscribe anytime.

Recent posts: