January 20, 2022
Side-by-side diffs are more readable to me than in-line diffs.
Long time ago, I started using Meld to display them when working with git. But I always needed to manually specify branch or commit names.
This week I finally spent some time and found a way to invoke Meld directly from tig, so that I can see the diff side-by-side while browsing a commit history in tig (for example, when I want to review a proposed branch containing 10 new commits, and I want to inspect each of them individually). Here’s a short howto.
...
June 10, 2019
This is a post which was about how web applications can benefit from gRPC by leveraging a gRPC sub-project called gRPC-Web along with Istio.
gRPC-Web addresses a shortcoming in the core gRPC framework: the fact that it doesn’t work so well with web applications running on browsers. That’s because even though most browsers support HTTP/2 and gRPC is based on HTTP/2, gRPC has its own protocols that web applications must understand in order to work properly with it. But web applications do not have this capability because browsers don’t support gRPC out of the box. Developers are increasingly looking to benefit from the advantages the core gRPC framework confers beyond backend microservices, thus gRPC-Web was born.
...
August 30, 2018
- TLS/SSL 是什么,他们的区别是什么
- TLS 握手协议 - handshake protocol
- TLS 如何提供认证、授权、保密以及完整性
- 实例:用openssl 生成证书链, client/server 如何使用证书链
...
July 17, 2018
基于公司的项目会越来越多,常常需要提取公共的library提供给多个项目使用,但是这个library怎么和git在一起方便管理呢?
我们需要解决下面几个问题:
- 如何在git项目中导入
library
?
library
在其他的项目中被修改了可以更新到远程的代码库中?
- 其他项目如何获取到
library
最新的提交?
- 如何在clone的时候能够自动导入
library
?
解决以上问题,可以考虑使用git的submodule
来解决。
...