Use ADB in Remote Machine
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:
台式机组装知识系统梳理
Chromium打印C++ Stack Trace
OpenWRT Godaddy DDNS设置
PVE中虚拟机不能联网问题解决案例
PVE自身可以联网,LXC容器也可以联网,但是VM虚拟机不能联网。反复尝试修改Ubuntu的网络配置始终没效果,怀疑是路由器问题,但是其他设备都能正常上网。
最后突然想到改硬件,把VirtIO改成Intel E1000,结果没想到网马上就好了。之后重新改回VirtIO也没问题。记录一下供有需要的人参考。
PVE换网卡后重新设置网络
JNI Basics and Usage in Chromium
JNI Documents
Java Native Interface https://docs.oracle.com/javase/8/docs/technotes/guides/jni/
Speed up build in large project with right work flow
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
.