Matt Stenson

This is the personal site of Matt Stenson. I'm a programmer, nerd, mountain biker, skier and outdoors enthusiest. I'll blog about different stuff here. I like open software and privacy focused tools.

tech

B2 Caching Control

Backblaze B2 storage and Cloudflare have a partnership that allows free egress from B2 storage through the Cloudflare CDN. What this means in effect is free bandwidth for serving your images and videos. Read More…

A Modern, Retro Blog Workflow

I recently experimented with moving this blog from WordPress to a simpler system in Tumblr. However, this setup never felt great and still felt “overtooled” for the task at hand. Read More…

Add LL command to MAC OS

Ever want to have the ll command to view file permissions, ownership and other details in a terminal session. MacOS does not come with this command by default. Read More…

Convert String to Base64 in Visual Studio Code

I work with .eml files pretty often that have base64 encoded data in their body. By default base64 is not human readable so converting it quickly in my editor is handy. Read More…

Display Date and Time of Single Day or Multi Day Events With Blade

I recently needed to display the date and time of a start and end date for a Laravel project. Up front I don’t know if the start and end date/time are on the same day or a different day. Read More…

Git changelog for particular line numbers

I often need to go spelunking through code that predates my work on the codebase. Sometime looking through the commit history for a large file can be rather overwhelming if there are lots of commits not related to the particular section of the file you are interested in. Read More…

Open File With App From MacOS Terminal

Sometimes I like to open up a text file in a robust gui text editor on my mac while I am working in the terminal. Read More…

Owning Content

So I’m reviving my personal site. In the past I was worried about owning the storage of my content so I self hosted this site on wordpress, which is honestly a pain for just wanting to write some stuff every so often. Read More…

Replace a string inside of a MYSQL field

I recently needed to replace part of a URL found inside the body HTML of a page that was stored in a MySQL column. Read More…
1 of 1