mike’s blog

馃憢 Hey all! This blog is where I share my findings along my journey across various technologies. I’ll try to keep it interesting and teach you a couple new things.

Why you need to add your custom fonts locally

Today, many developers utilize numerous fonts from all over the web to deliver a unique user interface for their clients. For example, developers use Google Fonts, a free, open-source library of fonts available for personal and commercial use. However, custom fonts and large icon libraries provide a potential performance degradation and slower first-paint time. The issue Here are some common ways developers insert fonts into their website: <head> ... <!--Linking to a render-blocking resource into the webpage--> <link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100&display=swap" rel="stylesheet"> </head> body { /* and using in CSS */ font-family: 'Josefin Sans', sans-serif; } In this example, the webpage must create an additional cross-origin network request to obtain the CSS file from Google鈥檚 font service. This network request adds multiple seconds to the render time for users with a poor connection. ...

July 18, 2021 路 3 min 路 Mike DelGaudio

How to Setup UFW on Raspberry Pi

This tutorial demonstrates how to configure a Raspberry Pi with UFW protection. UFW (Uncomplicated Firewall) is a program to manage simple network firewall rules in numerous Linux distros. Many users utilize UFW to block or allow specific transfer protocols or IP addresses in their Linux environment. Prerequisites To follow along in this tutorial, you will need the following: basic Linux command line knowledge basic networking knowledge a configured Raspberry Pi running on your network Login and Update Raspberry Pi Login to your Raspberry Pi with the user you created for the system ...

April 8, 2021 路 3 min 路 Mike DelGaudio