Proper Hugo Template Syntax Highlighting with go-html-template

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

2025-08-03 · Updated 2025-12-08 · 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.

2025-07-11 · Updated 2026-04-01 · 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.

2025-06-15 · Updated 2026-04-01 · 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.

2025-05-24 · Updated 2026-03-26 · 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.

2025-05-10 · Updated 2026-03-26 · 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.

2025-02-27 · Updated 2025-12-08 · 1 min · 119 words
Delete All Pulumi Stacks with One Command

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

2025-02-18 · Updated 2026-02-07 · 2 min · 251 words
How to Disable CSS Animations and Transitions

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

2025-01-26 · Updated 2026-01-24 · 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.

2025-01-07 · Updated 2026-03-26 · 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.

2025-01-02 · Updated 2026-04-01 · 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.

2025-01-01 · Updated 2026-03-26 · 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.

2024-12-22 · Updated 2026-03-28 · 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.

2024-11-27 · Updated 2025-12-08 · 1 min · 160 words
Leaving Proton Mail

Reasons why I won’t renew my Proton subscription.

2024-11-26 · Updated 2026-01-24 · 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"

2024-10-05 · Updated 2025-12-08 · 1 min · 119 words
AI-Generated Images Discourage Me From Reading Your Blog

If you’re willing to use AI-generated images, how do I know the text isn’t AI-generated?

2024-10-01 · Updated 2026-02-18 · 1 min · 109 words
Finding Private Information Through Resumes on Google Search

Reconsider uploading your resume on the open web.