Blog

Claude Code Usage Guide

After Cursor gained popularity, Claude Code emerged as another powerful tool. Who would have thought that coding in the terminal could be so impressive? When I saw it trending, I was curious and decided to try it out. I hit some snags initially, but after some tinkering, I finally got it working—and I must say, it’s really great. Here I’ll document the basic usage.

Aug 1, 2025

Understanding Tailwind

Recently, an open source project needed an H5 version, so I decided to try Tailwind. Here I’ll mark down my understanding and feelings after using it. For learning materials, the official website is of course the top recommendation. Here I’ll mainly share my rough understanding.

Jul 24, 2025

Keyof for Nested Objects

Problem interface User { parent: { name: string; }; age: number; name: string; } type Column = { key: keyof User; }; const columns: Column[] = [ { key: 'name' }, { key: 'name1' }, { key:'parent.name' } ]; Solution type Paths<T> = T extends object ? { [K in keyof T]: `${Exclude<K, symbol>}${"" | `.${Paths<T[K]>}`}` }[keyof T] : never type Column = { key: Paths<User>; }; In addition to writing your own Paths type, you can also use existing libraries, such as the Path type from type-fest.

Jul 22, 2025

Getting the Redmi Note 13 5G: A Sub-$1000 Phone with Many Issues, But What More Can You Ask For?

Recently, a family member’s phone became too outdated, so we decided to get a new one. Since she was previously using a Redmi Note series phone, I chose to stick with a relatively newer model from the same Redmi Note lineup. Staying with the same brand means she can continue with familiar system usage habits without additional learning costs.

Jul 14, 2025

Anker Power Bank Recall - I Finally Chose Self-Disposal and Selected Replacement

Both of my Anker power banks were in the recall batch. I recently received a text message suggesting self-disposal, so I decided to follow the recommendation. Here I’m documenting the process.

Jul 10, 2025

改变日常使用习惯的黑科技:MagSafe 三大优势

苹果推出 MagSafe ,并不只是个噱头,而是真正改变了我们给 iPhone 充电,以及使用配件的方式。

Jul 4, 2025

Which AI Service is Better? What AI Tools Do I Use Daily?

Since late 2022, AI development has become quite mature, but many friends around me still don’t know which AI services to use or which ones are better. I’ve been playing with AI since GPT started, so here I’ll share based on my rough experience.

Jun 30, 2025

Japan Free Travel Guide

My annual leave was about to expire, so I took a few days off for a trip to Japan. It was absolutely fantastic, so I wanted to document the preparation work and overall journey here.

Jun 29, 2025

NotebookLM Audio Podcast Experience Review: Current Limitations

A review of NotebookLM's audio podcast feature, highlighting current limitations with voice control, interaction modes, and language settings.

Jun 27, 2025

Japan Trip: How I Set Up My iPhone - Useful Apps & Features

I recently went to Japan and found that some iPhone settings and apps really helped me out. Here’s a summary that might be useful if you’re traveling abroad. Note: Non-iPhone devices likely have similar features/settings that you’ll need to find yourself.

Jun 25, 2025