Skip to content

Instantly share code, notes, and snippets.

View zhjwpku's full-sized avatar
🦀

Junwang Zhao zhjwpku

🦀
View GitHub Profile
mysql> select * from balancer;
+----+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------+---------------------+
| id | key | value | type | op_time |
+----+--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------

Keybase proof

I hereby claim:

  • I am zhjwpku on github.
  • I am zhjwpku (https://keybase.io/zhjwpku) on keybase.
  • I have a public key ASAj2SBQThWoo8sK4TdmngZILI3gQfxvJzUAhFsz7Squ6Ao

To claim this, I am signing this object:

// ant filter, 用于拷贝时进行参数替换
import org.apache.tools.ant.filters.ReplaceTokens
import org.apache.tools.ant.filters.FixCrLfFilter
// 定义默认构建任务,即./gradlew如果不加参数会启动该任务
defaultTasks 'bundle'
// 定义全局变量,通常项目依赖包的版本号会放在这里,另外,如果子项目依赖的版本不同,可在子项目中overwrite
ext {
aspectjweaverVersion = '1.8.2'

On the wire encryption

Google Summer of Code 2016

Background

Ceph does a cryptographic handshake when establishing a connection in order to mutually authenticate the client and server, but the actual data is not encrypted. This project would use the existing session key to encrypt that traffic. Obviously this will provide ceph with a more safe transmission mode.

We need to support: