Making a zoomable Image, in SwiftUI This should have been simple, but it wasn't. So if you too are having a hard time making a zoomable image in SwiftUI, come on in!
A few awesome useful and nice to have tools Homebrew My go-to tool to install pretty much anything on my Mac, Homebrew is a nearly ubiquitous tool in the Mac-using developer community. Don't believe me? It can be used to install every single macOS app listed here. And that includes the awesome screensaver listed at the end.
Preserve your images' transparency when saving and sharing them, in Swift Loosing your rounded corners or transparent background when saving an image to the user's photo library or sharing it with UIActivityViewController? It's because it's be turned into a JPEG. Here's how to solve that.
Everybody's doing it (a Stable Diffusion test post) A few years back, in February 2019, I, like quite a handful of people, heard for the first time of OpenAI's GPT-2. And while it sure was impressive, it only gave us a glimpse of what GPT-3 would be able to do a year later. Impressive wouldn'
From a base64 API Key to a json file, in bash, on macOS While working on a client's app's CI pipeline, I needed to use an API key. However, it was stored as a base64 environment variable, when the tool I needed to use required it to be plaintext in a JSON file. Fun times.
We aren’t that remarkable I've heard quite a few times that we, as a species, are terrible, destroying the Earth, ourselves, and that we are, all in all, the worse. That's assuming a lot. First and foremost, that we are as smart and great as we think ourselves to be.
Escape a newline in bash on macOS While setting up a new step for a client's CI pipeline on a macOS agent, I needed to export an API key containing line breaks to a JSON file. Meaning I had to escape line breaks, in bash, on macOS. Turns out, it's not as easy as it sounds. Who would've guessed?