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.

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

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

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.

2025-09-20 · [Updated 2025-10-29] · 671 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.

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-10-29] · 330 words
A Trick To Remove Unwanted Whitespace After Links in Hugo

Use this shortcode to remove unwanted whitespace after links in Hugo.

2025-07-11 · [Updated 2025-08-18] · 637 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 2025-08-14] · 125 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 2025-10-29] · 453 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 2025-08-14] · 349 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-10-29] · 123 words
Delete All Pulumi Stacks with One Command

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

2025-02-18 · [Updated 2025-08-14] · 258 words
How to Disable CSS Animations and Transitions

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

2025-01-26 · [Updated 2025-08-14] · 245 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 2025-09-07] · 223 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 2025-08-14] · 188 words
How to Add a Custom Response Header to an Amazon Cloudfront Distribution

Adding a custom header to AWS CloudFront Distribution responses.

2025-01-01 · [Updated 2025-08-14] · 382 words
How to Generate the Current Date and Time in Hugo

How to generate dates and times with Hugo shortcodes.

2024-12-22 · [Updated 2025-08-14] · 443 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-10-29] · 181 words