svg

Blog articles

2026 月 4 月 5 日
一杯咖啡的时间,解锁 Claude Code 的全部实力

一杯咖啡的时间,解锁 Claude Code 的全部实力

背景 2026年4月1日,Claude Code 在 2.1.90 版本新增了 /powerup 的命令,这是一个带有动画演示的互动课程,教人如何使用 Claude Code。 无论使用的是否是 Claude Code,作为公认的业内第一梯队 Agent,他们出品的“power up(能力升级)”是不可错过的优秀学习机会。接下来我们花 10 分钟,快速学习这...

2021 月 8 月 26 日
Android 11 适配之旅

Android 11 适配之旅

Google Play 商店在 2021 年第 3、4 季度正式加强对应用 targetSdkVersion 的限制,要求应用必须以 API 级别 30 (Android 11) 或更高版本为目标运行环境。 作为第一个强制要求分区存储的 API 级别,Android 11无疑是近几年适配工作较为复杂的版本,各个 APP 的适配进度也被寄予期盼。APP 在 2...

2021 年 2 月 16 日
Permission Denied when Push File to /mnt/sdcard on Android 11

Permission Denied when Push File to /mnt/sdcard on Android 11

When we use adb push $file /mnt/sdcard on Android 11 devices, we will encounter adb: error: stat failed when trying to push to /mnt/sdcard/: Permission denied error message. This a...

2020 年 10 月 5 日
Leverage the Google Play In-App Review API

Leverage the Google Play In-App Review API

Two months ago, Google released the In-App Review API, allowing users to complete ratings and reviews without jumping out of the application. I added this feature to the open sourc...

2020 年 6 月 2 日
Git QuickStart -- Team Collaboration

Git QuickStart -- Team Collaboration

This article will introduce how Git is used in daily collaboration scenarios. Before reading, please make sure that you have a basic understanding of Git and master the common comm...

2020 年 1 月 29 日
Code Implementation of Levenshtein Distance

Code Implementation of Levenshtein Distance

In the previous article, I mentioned that when doing fuzzy matching, Levenshtein distance was selected as the reference value. At the time, I directly used the Python library to im...

2019 年 9 月 19 日
记一次GIF的问题的排查与探索

记一次GIF的问题的排查与探索

前言 某天收到业务方反馈,一张 GIF 活动图在网页端无法播放,在 APP 侧是正常的。 业务方表示上一次配置是正常的,并给出了两次配置的图片链接。 虽然提供的信息不算多,不过已经足够定位和解决问题了。 图片 原始图片这里就不放了,看完文章可以找任意 GIF 图片练手。 分析 从链接来看,两张图链接的后缀都是以 jpg 结尾的,但 GIF 的判断并不由其后缀...

2019 年 5 月 23 日
Video Player's AutoPlay Framework Design in RecyclerView

Video Player's AutoPlay Framework Design in RecyclerView

When I reviewed the notes, I found that this article was not uploaded to the blog. Although the code implementation is outdated, the idea has been used all the time, so today I sim...

2019 年 3 月 7 日
Differences of Custom View Shapes before and after Pie and Examples of Round Corner Implementation

Differences of Custom View Shapes before and after Pie and Examples of Round Corner Implementation

Google updated the Draw Path implementation on the Android Pie system, so compatibility issues arise when creating custom graphics using Xfermode. Example The detailed code can be...

2019 年 12 月 10 日
A Practice of Screen Adaptation

A Practice of Screen Adaptation

Android’s screen fragmentation problem has a long history. Generally, we use the same physical size on different devices. Such a solution does not completely restore the design dra...

2018 年 3 月 9 日
Use Raspberry Pi to Hang Up Live and Auto Check-in

Use Raspberry Pi to Hang Up Live and Auto Check-in

Android emulator and Docker on Windows can’t be used at the same time. I want to use Raspberry Pi to set up a development environment. I just watched the live broadcast recently, s...

2016 年 7 月 14 日
Gadget development for mouse coordinates

Gadget development for mouse coordinates

I made an automated tool recently and found that it was horrible to get the current coordinates of the mouse when developing. It’s a waste of time to use the Photoshop ruler for vi...

2016 年 7 月 11 日
Hide files in images using Python

Hide files in images using Python

There are many ways to hide files in images on the web, which can also be done in Python, which avoids the blocking method of matching links or text. Most of the rumors circulating...