Title
Quinn Casey
Go Home
Description
Browse Doing [[now|/now]] [[learning/index.md|/learning]] [[stack/_index.md|/stack]] [[blogroll/_index.md|/blogroll]]
Address
Phone Number
+1 609-831-2326 (US) | Message me
Site Icon
Quinn Casey
Tags
Page Views
0
Share
Update Time
2022-06-28 13:27:42

"I love Quinn Casey"

www.quinncasey.com VS www.gqak.com

2022-06-28 13:27:42

I'm Quinn! Software developer, Li-Ming main, and self hosted. https://github.com/qcasey https://t.me/qcasey https://matrix.to/#/@qcasey:matrix.quinncasey.com https://mastodon.technology/@qcasey /index.xml PGP:B670795930CF07B9DE5F8FD7020CCCFCB93DA9A5 About Me Projects Latest May 2022 This report was automatically generated as part of my Quantified Self project. #quantified-self Change Modification Time of Exported iCloud Videos Exported Video on Macs do not include any EXIF data. Here's how to fix that. #tools April 2022 This report was automatically generated as part of my Quantified Self project. #quantified-self March 2022 This report was automatically generated as part of my Quantified Self project. #quantified-self Hugo: Render remote content from URL Using Cloudflare Workers to hack around getJson #tools February 2022 This report was automatically generated as part of my Quantified Self project. #quantified-self January 2022 This report was automatically generated as part of my Quantified Self project. #quantified-self Removing a dead NFS share of an exported ZFS dataset I recently exported a Zpool without first removing the corresponding sharenfs option. On the next reboot, exportfs attempted to share this directory from a pool which is no longer mounted (as it doesn't exist anymore). #linux Reducing Docker image size with distroless containers I recently read this great article about docker image size, how it works, and why it matters. Up until now I hadn’t given any thought to the size of the containers I’m building.Dive is the cli tool I’m using to inspect each layer of the final docker container.I gave these quick changes a try, and am pretty astonished by the results:Before My Fetch Image Proxy project was the most recent offender so I started there.I was using FROM node:17 without any build step. This meant that npm libraries, and the overhead of a debian base was weighing the container to 1 GB in space!After Switching to a build step had the biggest impact, but using gcr.io/distroless/nodejs:16 distroless images for the runtime also made a slight difference. Both small changes combined brought the overall size to 124 MB, about an 8x reduction in disk space.I probably should have known this so far into my career with docker, but if I did I would not have had this fun tooling experience.This is the gcr template for nodejs: https://github.com/GoogleContainerTools/distroless/blob/main/examples/nodejs/Dockerfile #linux Fetch Image Proxy Proxy to fetch any header or hero image from a URL. #tools #javascript https://github.com/qcasey https://t.me/qcasey https://matrix.to/#/@qcasey:matrix.quinncasey.com https://mastodon.technology/@qcasey /index.xml PGP:B670795930CF07B9DE5F8FD7020CCCFCB93DA9A5 © 2022 Quinn Casey - This site does not track. Cooked up fresh daily. Last rendered Tue 28 June 2022 @ 10:11 UTC