Latest posts

TIL-2609

  • Standard, agreed-upon paths under /.well-known/ https://specification.website/spec/well-known/
  • Apple Developer Documentation provides markdown-formatted docs, just put .md at the end of URLs. e.g. https://developer.apple.com/documentation/swift/array.md 苹果开发者文档有 markdown 版本,URLs 增加 .md
  • git log -n 3 limits the output to the latest 3 commit logs
  • open -R FILENAME 可以打开文件所在的目录,open -R $(ls | head -n 1) 替代 cdf

60 Apps Program

60-apps

I recently started a 60 Apps Program: to keep the total number of apps on my iPhone under 60.

I found that about one-third of the apps I installed are not used often. Some apps were downloaded just for the novelty, some offer similar functionality, and some were only used once. They continue to take and waste storage.

New principle:

  • prefer native iOS whenever possible
  • prefer web apps for products that require lightweight interactions

I will continue the program until the end of 2026 to determine its feasibility.

TIL-2608

  • Stop asking it for answers. Ask it to steelman your problem first.
  • macOS 文件夹以 .noindex 结尾,或文件夹目录包含 .metadata_never_index,可以阻止 Spotlight 索引该目录及其内容
  • https://markdown.new 类似 https://defuddle.md ,把网页转 markdown,但清洗没有 defuddle.md 做的好。优点是支持文件转 markdown
  • https://developer.apple.com/documentation/retentionmessaging iOS 用户订阅退订挽留 API
  • Redirect(302/303/307) https://<domain>/.well-known/change-password to the password change page, Chrome, Safari, and major password managers will be able to guide users directly to the password change screen.