Khari Johnson
Builder. Explorer. *Nix Enthusiast
Featured
Running Docker on MacOS
Posted on:January 27, 2023 at 12:30 PMRunning `docker` on MacOS is NOT the same as running it natively on linux. This is because MacOS requires a Linux VM (or some other virtualizaation solution) for the docker CLI to talk to.
Recent Posts
Blogging with ChatGPT
Posted on:January 31, 2023 at 12:30 PMChatGPT is all the rage right now and I want to understand it a bit better. Here's my attempt at getting it to suggest content ideas for this very blog, as well as some exploration into what a LLM is.
Running Docker on MacOS
Posted on:January 27, 2023 at 12:30 PMRunning `docker` on MacOS is NOT the same as running it natively on linux. This is because MacOS requires a Linux VM (or some other virtualizaation solution) for the docker CLI to talk to.
Using Next.js API routes
Posted on:December 3, 2020 at 10:00 PMNext.JS comes with a useful feature out of the box, api routes. Files created in the `pages/api/` folder are treated as an endpoint rather than a page. Instead of exporting a React component to display your UI, you can export a function returning, say, a JSON response.