Learn how to create and remove git worktree to simplify your PR workflow
PHP missing dependencies
I was having some issues with my PHP package installed through asdf yesterday. Something about missing libiconv and when I ran php -v it returns me this response:
No php executable found for php 8.2.0 To fix the issue, I followed this tips on Github issues
Install the optional dependencies:
$~ brew install gmp libsodium imagemagick Reinstall the possible missing dependencies. brew will just skipped any packages that I’ve already installed.
Replacing nvm with asdf to manage NodeJS versions
I’ve been using zsh with antigen as the package manager for years. Over time as I add more customizations, I noticed that my shell startup time has become slow. Sometimes, it would take more than 3 seconds to start up.
I read few months (or a year) ago that nvm, a version manager for nodejs can cause this issue so I thought maybe it’s the right time I should try asdf.
Runners - iOS app to manage Gitlab Runners
I made a thing! It’s an iOS app to remotely manage Gitlab runners. I wrote this app to solve one of the pain points that I frequently face back when I managed the CI/CD machine that hosted the Gitlab runners for my teams.
My coworkers would frequently ask me to check why their pipelines or runners were failing and so in a begrudging manner, I would VNC’d into the machine and checked them.
How to list all the git commits history for a specific file
Assuming the following situation:
You work on a large project that has an extensive git commits history and a lot of files You need to debug a certain issue that was caused by a certain file You look at the commits history to see which commit is causing the issue but going through it one by one is like finding a needle in a haystack Well, worry not because you can use the following git log command to solve your issue: