Today I learned
There are days where I simply carry on. And there are days I learn new things worth mentioning. Well, this is where I mention them.Vim quickfix list
A 1146 words post you'll enjoy for ~5 minutes.Back when I started using
vim, I was aC++developer. Like many, I usedvimbecause it was there. Like many, I found thathjklto move around made no sense at first. Next thing I knew, not having them felt like missing a finger. Not long after,w,e,b,f,tor/were no-brainers to move faster.Entered
:make. It runsmakeprgwhich defaults tomakefrom within the editor. If the code compiles fine (as it always does), you live in a wonderful world. Else,vimtakes the compiler’s output and fills thequickfix list.The
quickfix listis a special file that basically contains places in your codebase you can quickly jump to. It even jumps to the first one by default but you can avoid this with:make!instead.To be fair, I was satisfied with this for a long time. The daily routine was simple:
Read more:make, fix, start again. But there is more. More thanmakeand more than the first item on the list. There is even more than the list.Let's make history
A 1891 words post you'll enjoy for ~8 minutes.When it comes to hosting static websites, I’m used to the
gitlabway. It’s quite simple and elegant. You have a CI, with a job calledpages. This job has a directory artifact calledpublic. Done, the content of this directory is served as the website.Because of reasons, I wanted to migrate my old, and now closed, website from
gitlabtocodeberg. And it does not work the same way. I mean, it can work pretty much the same way. But there is an alternative.And that alternative led me to the discovery of the
Read more--orphanflag of somegitsubcommands.