Some times we develop Android on a remote Linux machine (or WSL). We need to use adb in remote machine and connect to the local Android device.

Here is how we can achieve this:

阅读全文 »

这篇文章尝试较为系统的介绍台式机组装相关的知识,耗时很长时间终于完成,如有错误请及时指正

文中具体的产品推荐、接口标准仅适用于2021年,之后更新情况又会不一样了。

阅读全文 »

PVE自身可以联网,LXC容器也可以联网,但是VM虚拟机不能联网。反复尝试修改Ubuntu的网络配置始终没效果,怀疑是路由器问题,但是其他设备都能正常上网。

最后突然想到改硬件,把VirtIO改成Intel E1000,结果没想到网马上就好了。之后重新改回VirtIO也没问题。记录一下供有需要的人参考。

阅读全文 »

If many people develop a large project (e.g. Chromium), many changes can be created all the time. If we update the code, we need to rebuild all the changed files which may take a lot of time.

Let us assume the name of the major develop branch is master. To speed up our build, we can checkout and update master branch everyday and then start a build before we get off work (or before the meal time). The build will be finished when we get back to work next morning. We can call it daily build.

阅读全文 »