👨🏽💻 What Type of Code Did I Write This Week?
From: 14 May 2022 - To: 21 May 2022
Svelte 4 hrs 13 mins ██████████▓░░░░░░░░░░░░░░ 43.15 %
TypeScript 2 hrs 21 mins ██████░░░░░░░░░░░░░░░░░░░ 24.06 %
Other 1 hr 16 mins ███▒░░░░░░░░░░░░░░░░░░░░░ 13.06 %
Coding metrics are powered by Wakatime
Recent Blog Posts
-
Hugo: Add Copy-to-Clipboard Button to Code Blocks with Vanilla JS
November 13 2019 — Hugo includes a built-in syntax-highlighter called Chroma. Chroma is extremely fast since it is written in pure Go (like Hugo) and supports every language I can think of. Chroma’s speed is especially important since syntax highlighters are notorious for causing slow page loads. However, it lacks one vital feature — an easy way to copy a code block to the clipboard. I decided to document my implementation using only vanilla JS since every blog post I found for this issue relied on jquery to parse the DOM, which is completely unnecessary at this point. -
Packer Template: Amazon EC2 Ubuntu AMI with Latest NGINX
March 30 2018 — Packer is an open source tool for creating identical machine images for multiple platforms from a single source configuration. Packer is lightweight, runs on every major operating system, and is highly performant, creating machine images for multiple platforms in parallel. In this post, I will demonstrate how to create a packer template for AWS that automatically installs and configures NGINX on the most recent Ubuntu OS. -
The Periodic Table of DevOps Tools
March 22 2018 — When I began learning about DevOps software and processes, it seemed like there were numerous tools that accomplished the same task, or nearly the same task without a clear consensus opinion on the best toolchain and workflow. I quickly discovered that there isn’t a single, correct answer, mostly due to the nature of open-source software. The Periodic Table of DevOps Tools is a crowdsourced website that nicely illustrates the current landscape.