ytyng.com

Latest Articles

Page 2
2026-02-13 02:34 (5 months ago)
Docker 29 breaks docker push to ECR with 403 Forbidden on GitHub Actions

GitHub Actions ubuntu-latest runner updated to Docker 29, which defaults to containerd image store, causing docker push to ECR to fail with 403 Forbidden.

2026-02-10 23:29 (5 months ago)
How to Add "Copy Full File Path to Clipboard" to Finder's Services Menu

How to create a Quick Action using macOS Automator that copies the full file path to the clipboard with a right-click in Finder.

2026-02-09 09:34 (5 months ago)
How to turn Orange Pi Zero 2W into a Web Signage Display

A guide to turning Orange Pi Zero 2W into a web signage display with auto-starting Chromium kiosk mode. Covers stable systemd boot configuration (getty conflict, D-Bus/GPU workarounds, unlimited retries) and interrupt-driven GPIO button control using gpiomon.

2026-02-08 08:40 (5 months ago)
Summary of the Differences Between Suno AI’s Remix, Inspo, Mashup, and Sample Features

A comparison of Suno AI's four features — Remix, Inspo, Mashup, and Sample — with a table and flowchart explaining their inputs, behaviors, and when to use each one.

2026-01-23 02:52 (6 months ago)
Firefox: Setting to Prevent Exiting macOS Full Screen Mode with the ESC Key

An `about:config` tweak that stops the ESC key from exiting full-screen mode in Firefox on macOS.

2026-01-09 03:03 (6 months ago)
Exposing Chromium DevTools Protocol port 9222 from Docker — Chromium M113+ workaround

Since Chromium M113, `--remote-debugging-address=0.0.0.0` is forcibly remapped to 127.0.0.1, blocking external CDP connections. Workaround: forward 9222 to 127.0.0.1:9223 with `socat`.

2026-01-09 03:02 (6 months ago)
How to Ignore Changes to Tracked Files with `git skip-worktree`

Use Git's `skip-worktree` flag to hide specific local edits from `git status` — handy for tracked files you cannot `.gitignore` but want to keep modified locally.

2026-01-09 01:55 (6 months ago)
Parsing Claude Code stream-json output with jq — extract .event.delta.text in real time

Extract `.event.delta.text` from Claude Code's `--output-format=stream-json` using `jq -j` to avoid the per-fragment newline issue with `jq -r`. Includes a working one-liner.

2025-08-30 04:18 (11 months ago)
Headless UI Libraries for SvelteKit + Tailwind (2025)

I researched Headless UI libraries that can be used with Svelte and summarized them.

2025-08-24 14:31 (11 months ago)
Designing a Shared Store Library for Svelte 5’s Runes Mode

When trying to implement a shared store in Svelte 5’s Runes Mode, I couldn’t export $state, so I couldn’t write the code as intended and ended up creating a compromise solution.

AWS
2025-07-16 12:03 (12 months ago)
Resolving the BODY_SIZE_LIMIT for File Uploads on AWS Amplify Hosting with SvelteKit SSR

I resolved an issue in an app deployed to AWS Amplify using SvelteKit + amplify-adapter that was causing the upload error: "SvelteKitError: Content-length of 605227 exceeds limit of 524288 bytes."

Python
2025-05-27 08:55 (14 months ago)
[Outdated] Using Selenium Remote (Selenium Grid) with browser_use

This is sample code for using Selenium Remote Grid in headful mode with `browser_use`. The sample also includes specifying the browser window’s viewport size.

Python
2025-05-21 03:10 (14 months ago)
Obtain HttpOnly=True Session Cookies from Services Logged in via Browser-Use

Pitfalls when passing `--headless` or `-profile` to Selenium Firefox, and the right way to use `selenium.webdriver.FirefoxOptions`.

Python
2025-05-21 02:50 (14 months ago)
Fix: Python 3.13 SSL error 'Basic Constraints of CA cert not marked critical' (VERIFY_X509_STRICT)

Python 3.13 enabled VERIFY_X509_STRICT by default, triggering "SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed: Basic Constraints of CA cert not marked critical" against self-signed CA certs. Workaround: disable VERIFY_X509_STRICT in SSLContext.

2025-04-19 08:59 (15 months ago)
When 429 Occurs Despite Sufficient Credits with OpenAI API

Fix `symbol not found in flat namespace` on macOS Homebrew Python 3 — check library links and reinstall the affected package.

Django
2025-03-13 09:25 (16 months ago)
How to Fix Display Issues in Django Admin Inlines After Upgrading to 5.1

Hide a specific `ModelForm` field in a Django 5 Admin Inline while still passing initial values as a dict — combine `formfield_overrides` with `get_initial`.

2025-03-09 06:43 (17 months ago)
Install Ingress Nginx as an Ingress Controller in K3s and Retrieve the Source IP Address as a Request Header

When AWS SDK throws `Could not load credentials` against Cloudflare R2 / S3-compatible storage, review endpoint and credentials provider configuration.

AWSLinux
2025-01-15 12:02 (18 months ago)
How to Install AWS CLI V1 on Ubuntu Using Snap

The blog post provides a method to forcefully specify and install AWS CLI version 1 when attempting to install using the command `sudo snap aws-cli`, which by default installs version 2.

AWS
2024-12-21 08:00 (19 months ago)
How to Address AWS Uncaught CredentialsProviderError: Could Not Load Credentials from Any Providers

Resolve the AWS SDK error `Uncaught CredentialsProviderError: Could not load credentials from any providers` by configuring env vars, IAM role, or shared credentials correctly.

Django
2024-12-14 04:46 (19 months ago)
Return Login and Redirect Views by Hardcoding Social Account Provider in django-allauth (When Using AWS Cognito, etc.)

How to Create a Login View in Django Allauth Without Specifying the Social Account Backend in the URL