How to Use an AWS S3 Bucket as a Pulumi State Backend

Self-host Pulumi state with an S3 Bucket, an IAM User, and the Pulumi CLI.

 · Updated  · 4 min · 673 words

Local Text Summarization With Ollama and Python Is Just String Manipulation

Generate a string with Python, pass it into Ollama, and you get a string in return. That’s it.

 · Updated  · 3 min · 620 words

Proper Hugo Template Syntax Highlighting with go-html-template

Improve Hugo template code highlighting using go-html-template Markdown code blocks.

 · Updated  · 2 min · 274 words

A Trick To Remove Unwanted Whitespace After Links in Hugo

Use this template syntax to remove unwanted whitespace after links in Hugo.

 · Updated  · 3 min · 605 words

Remove Unnecessary Hugo Meta Tag to Keep HTML Lean

Remove an unnecessary and auto-generated Hugo meta tag by setting disableHugoGeneratorInject to true.

 · Updated  · 1 min · 118 words

Validate HTTP Status Codes in Go Using Built-in Constants

Use Go net/http constants like StatusOK and StatusNotFound for more readable code.

 · Updated  · 2 min · 369 words

It’s 2025, Why Aren’t You Using an Ad Blocker?

Far too many people still don’t use ad blockers.

 · Updated  · 2 min · 354 words

How to Clone a Specific Git Branch Without Other Branches

Clone a single Git branch using –single-branch and –depth for faster cloning.

 · Updated  · 1 min · 119 words

Delete All Pulumi Stacks with One Command

How to delete all Pulumi stacks with a shell one-liner.

 · Updated  · 2 min · 251 words

How to Disable CSS Animations and Transitions

Disable CSS animations and transitions with a few lines of CSS.

 · Updated  · 2 min · 242 words

We Exist Only to Work

We are born, we go to school to prepare for a job, we work most of our lives, then we die.

There Is Little Incentive to Participate in Your Employer's Hackathons

Come up with a million-dollar idea, get $100 in return.

 · Updated  · 2 min · 222 words

Fix "Efficient Cache Policy" Warning on PageSpeed Insights When Using Amazon CloudFront

Get rid of the efficient cache policy warning on PageSpeed Insights by adding a Cache-Control header to CloudFront.

 · Updated  · 1 min · 188 words

How to Add a Custom Response Header to an Amazon CloudFront Distribution

A guide to adding custom response headers to a CloudFront distribution using response headers policies in the AWS Console.

 · Updated  · 2 min · 382 words

How to Generate and Format the Current Date and Time in Hugo with dateFormat

Several examples of dateFormat including date only, date + 12-hour time, date + 24-hour time, date + timezone, and date + UTC offset.

 · Updated  · 3 min · 473 words

Render HTML and CSS if JavaScript Is Disabled Using the `<noscript>` Tag

Render HTML and apply CSS styles if JavaScript is disabled.

The prefers-reduced-motion CSS Media Query

Apply CSS styles conditionally when a user enables reduced motion on their device.

 · Updated  · 1 min · 160 words

Leaving Proton Mail

Reasons why I won’t renew my Proton subscription.

 · Updated  · 3 min · 498 words

Preserve Child Objects When Parent Objects Are Deleted in Ruby on Rails

Use dependent: :nullify in Rails associations to preserve child records when parent objects are deleted.

Remove Shadows From Screenshots in macOS

Run this command to remove shadows from your screenshots in macOS: defaults write com.apple.screencapture "disable-shadow" -bool "true"

 · Updated  · 1 min · 119 words