Adding custom brushes to Zbrush

If you’ve created or downloaded some 3D Sculpting Brushes for use in ZBrush you’ll probably want to have them available to you each time you launch the application. Importing them one by one each time would be ridiculous...

Using private NPM packages with Rails, Heroku and Github

There are numerous reasons why you’d want to leverage the following setup. However, I’m going to be using a trivial example of sharing some CSS styles across different Rails apps via an npm package. That npm package will be private and hosted on GitHub. After we install the package into our Rails project via Yarn...

How to handle time in Rails

Handling time is a doozy. It’s not necessarily a problem that is specific to Rails either. It’s just hard. There are a thousand things to consider. I want to help you get an idea of what a reasonable setup might look like and let you go from there. The following steps are meant to be more conceptual than a line-b...

Customizing the Trix toolbar

I recently added the Trix Editor to a Rails app I was working on and quickly found that I was going to need to do some modifications to the toolbar buttons. Out of the box, Trix only gives you an h1 button for creating headers and the site I was building was already populating an h1 tag...

My websites

Web devs are constantly putting up and pulling down their own sites and I’m no different. So here is my latest attempt at organization. I plan to make this site my informal blog where I’ll talk freely about anything. leavingharbor.com will just focus primarily on my company and its endeavors.

I felt like ...

Restoring a lost scene in Unity

FYI – This mostly applies to folks using Macs.

Well shit. Losing progress on a project is bound to happen to you at some point in your career. Whether the application hangs and you have to restart or the power goes out, you’re bound to experience some bad luck once in a while. Turns out that was ...

A gotcha with Active Storage and Cloudflare

Rails 5.2 introduced Active Storage and it’s pretty awesome. I’d used paperclip from the @thoughtbot folks for a long time, but file uploading is a requirement for just about any site these days so it might as well be part of the core. Now it is.

Well, if you happened to implement Active Storage into your...