I first made this site back in 2016, and since then it hasn’t had any substantial updates to its design or overall structure. Here we are now in 2024, and I find myself to be a developer with a blog that doesn’t have a dark theme.
A guide to configuring WezTerm using its Lua API. Focuses on appearance, keybindings, multiplexing, workspace navigation, and status bar (powerline) setup.
How to use GNU Parallel to gather stats on long-running flaky tests by running them many times and capturing their results.
How to use set-returning functions in PostgreSQL to generate simple timeseries data
Using SVG to easily create sparkline charts, and rendering them on the server side with Elixir and Phoenix
How I used the Declarative Shadow DOM to embed HTML emails on a web page without breaking its CSS styles
My experience with using Gumroad to sell subscription based software
A downloadable PDF of Silicon Valley's Conjoined Triangles of Success poster
Guide on how to deploy Metabase to Fly.io in minutes
A quick, zero-dependency way to manage private files in a git repository
How to add new device UUIDs to a provisioning profile while using Xcode 8 managed signing
After reading Brian Jordan’s post Emojify your Wi-Fi where he adds emoji to his Wi-Fi SSID, I decided to blatantly rip him off I got inspired to do the same on my Netgear R6300 router.
Apple’s new San Francisco Mono typeface comes bundled in with the latest Xcode 8 beta, and it’s beautiful! If you’re impatient like me and want to use San Francisco Mono in your other apps before macOS Sierra is released, you can grab its otf files from the Xcode 8 Beta app package and install them manually:
iOS 9 introduced App Transport Security, which by default forces apps to communicate over HTTPS instead of HTTP. This is a great default for production apps, but it can get in the way of connecting to development servers which are less likely to be configured with a HTTPS connection, especially when running on your local machine.
Often while working on an iOS app there’s functionality that you want exposed only when the app is running in a Debug build configuration. Previously I would use build environment variables and preprocessor macros to determine this, but thanks to the great answer on this Stack Overflow question I now use a runtime check to tell whether the app is...
While building this website using Jekyll I found that there were a few places where I needed to override config variables when the site is running in a development environment. Some examples of dev only overrides I wanted to do are:
SwiftLint is a great tool for enforcing code conventions in your Swift projects.