Logitech mouse sitting on a wood desk.

I broke down and got a 3-button mouse

I probably teeter on the edge of being an Apple fanboy. Since the original iPhone I’ve waited hours in lines for iPhones just so I could have them on the first day. I’ve gone through too many MacBook Pros, Mac Pros and iMacs to count. I wear my AirPods at least half of every day… even though they fall out of my ears. I...

How to change your project name in Unity Hub

Here’s a little idea if you’ve ever been bothered by the inability to change your project name in Unity Hub. Let’s say your project uses a directory structure that looks like the following:

Now if you’ve got 10 games using a similar structure, then you’ll likely see 10 projects with the name “Unity” in Unity Hub. That...

Blender rendering on a Mac

I’ve done 3D work in the past with both Maya and Cinema4D, but I’m now giving Blender 2.8 a go. The interface has been completely overhauled and it seems far more approachable. This also means I have some learning to do and, naturally, the issue of rendering came up pretty quick.

In 2014 Apple decided it was going to ...

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.

Stop Turbolinks from adding multiple script tags with nonce

If you’re using a Content Security Policy (CSP) in your Rails app you probably already know how finicky things can get. One common annoyance you may run into is an issue where a script tag is added to the <head> over and over again with each page request. It’s no bueno, but there’s a way around it.

Let’s assume the fo...

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, we’l...

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-by-line...

Cleaning up figures in Action Text

Action Text and Trix are great and give you an immense amount of power right out of the box. That being said, I didn’t like a bit of the styling for both the presentation of the figure to the user and in the editor. So let’s fix it!

  • You’re using Bootstrap 4
  • You’re starting from a fresh install of Action Text

If you...

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 via a separate field. Therefore,...

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 polluting my ...

About These Posts

Matt Haliski's mug

My blog primarily contains writings about my work on computers, but I occasionally mix in fun life stuff. I am, at best, a mediocre writer, but I like doing my part to give back to the community. Feel free to contact me if you have specific something to chat about. See you around!