Solving “setting certificate verify locations” error with Tower’s embedded Git

As far as I’m concerned, Tower is the best Git client that money can buy. It’s fully featured, well-designed, and it even has Git embedded within it. I don’t even bother with installing plain vanilla Git on Windows anymore. I just update the PATH environment variable to point to Tower’s git.exe, and I’m done.

Well, not quite. I had an issue with SSL certificates when I was trying to use Scoop, which uses Git internally. Here’s the message I got (slightly reformatted for readability’s sake):

I’m guessing git.exe was looking for this ca-bundle.crt file in a default location that didn’t exit on my machine, due to using Tower’s embedded git and all.

After some googling with DuckDuckGo I found an ancient post titled “msysGit error setting certificate verify location” that had the solution. I simply ran the following command in PowerShell (reformatted for readability):

And that solved it for me. I reran the Scoop command from before and it worked without a hitch.

PNG sequence to WebM video with transparency

I needed to use a video that contained transparent content (aka an alpha channel) in a Unity prototype I was working on for a demo. And according to the docs, the only video formats that support transparency are a certain Apple-only format and WebM with the VP8 codec.

I couldn’t get the video to render to WebM using the editing software I had, so I ended up exporting the whole thing to a sequence of PNG files, which I then converted to WebM VP8 using the ffmpeg and the following parameters:

Where -c:v libvpx specifies the VP8 codec and -i IMG_%07d.png is the matching pattern for the input files. I have no idea what the other parameters mean, and I don’t remember where I found them when I googled with DuckDuckGo.

But it worked! I followed the import instructions in the Unity documentation and it the video played with transparency on both iOS and Android. The only thing worth noting is that I had to enable the “encode” option for Android in the import settings.