GitHub Actions for Pulumi with an AWS S3 Backend

How to set up GitHub Actions for Pulumi when the state is stored in an AWS S3 Bucket.

 · Updated  · 3 min · 506 words

How to Actually Copy a List in Python

Copy a list in Python using the copy() method, not the assignment operator.

Creating High Quality GIFs from Asciinema Recordings

Use agg with a huge font size to get high quality GIFs.

 · Updated  · 1 min · 188 words

Quick Tip: Mute the Terminal Login Message with a .hushlogin File

Create a .hushlogin file in your home directory to silence login messages.

 · Updated  · 1 min · 104 words

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 · 687 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 · 628 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 · 280 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 · 610 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 · 124 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 · 378 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 · 127 words

Delete All Pulumi Stacks with One Command

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

 · Updated  · 2 min · 265 words

How to Disable CSS Animations and Transitions

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

 · Updated  · 2 min · 252 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 · 383 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 · 512 words

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

Render HTML and apply CSS styles if JavaScript is disabled.