Skip to content
Wei Li

Archives

All the articles I've archived.

202617
November4
  • Fiber & Protein Week

    A seven-day food plan with about 36–38g of fiber and 80g of protein a day, from fruit, oats, seeds, avocado, beans, vegetables, eggs, Greek yogurt and lean protein.

  • Walk & Strength Week

    A weekly plan of about 4 miles of walking a day, a 25-minute strength routine three times a week and 3 minutes of daily balance work.

  • 20 Unix Commands Worth Knowing Well

    What grep, rg, sed, awk, sort, find, xargs, jq, git, gh, curl, timeout, ps and friends are for, with five useful examples of each.

  • Introduction to OpenRouter

    What OpenRouter is, why one prepaid key for hundreds of AI models is handy, and how to use it from curl, Claude Code, Python and Spring AI.

October9
  • Moving a GitHub Pages Site to Your Own Domain

    Everything I learned putting a GitHub Pages blog on a custom domain: picking and buying a domain, DNS records, verification, HTTPS, the Astro config change, forwarding the bare domain, and locking down email.

  • Canon EOS R50 FAQ

    Quick answers to everyday Canon EOS R50 questions: self-timer, burst shooting, remote shooting, focus, brightness and flash, movies, sound, battery and cards, transferring photos, and troubleshooting.

  • Canon EOS R50 Advanced Guide

    The Canon EOS R50's mode dial past A+ and SCN: P, Tv, Av and M, Bulb, Creative filters, the exposure tools that come with them, and exercises to practice each one.

  • Canon EOS R50: A Simple Guide to Taking Photos

    A plain-language guide to the Canon EOS R50 for everyday shooting: setup, auto and scene modes, sharp photos, flash, brightness, and getting photos onto your phone.

  • Diagrams in Astro Posts: Mermaid, PlantUML and Excalidraw

    How this blog renders Mermaid, PlantUML and Excalidraw diagrams in Markdown, MDX and AsciiDoc posts at build time with Kroki, and what I ran into along the way.

  • Using Alpine.js in Astro: Why and How

    Why this site uses Alpine.js alongside Vue, how the Astro integration works, and three examples: a counter, a Java quiz and an epoch converter.

  • Interactive Java Examples with Vue

    Updated:

    A Stream pipeline playground and a Java collections explorer, built as Vue components and embedded in an MDX post.

  • A Java Regex Tester

    Test java.util.regex patterns in the browser: matches, groups, replaceAll with Java's $1 and ${name} rules, and the Java code to run them.

  • Using Vue Components in Posts

    Updated:

    Why this static Astro site uses Vue, what runs at build time versus in the browser, what it costs, and how to use Vue components in MDX posts.

August4
20256
December1
November2
October3