Skip to content

Instantly share code, notes, and snippets.

View liuqun's full-sized avatar

刘群 liuqun

  • Tianbo Electronic Information Technology Co., Ltd.
  • 山东青岛(Tsingtao, China)
View GitHub Profile
@liuqun
liuqun / parttypes.sql
Last active April 26, 2023 13:42
The Chinese translation of part-types for https://github.com/replaysMike/Binner . A SQL script exported from my MySQL database:
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MariaDB
Source Server Version : 100508
Source Host : localhost:3306
Source Schema : binner
Target Server Type : MariaDB
@liuqun
liuqun / dtls_api.md
Created September 9, 2019 06:58 — forked from Jxck/dtls_api.md
OpenSSL DTLS API

OpenSSL DTLS API

The API used for DTLS is mostly the same as for TLS, because of the mapping of generic functions to protocol specifc ones. Some additional functions are still necessary, because of the new BIO objects and the timer handling for handshake messages. The generic concept of the API is described in the following sections. Examples of applications using DTLS are available at [9].

DTLS の API は TLS とほぼ同じ。 BIO オブジェクトの生成とタイマのために追加でいくつか必要。

@liuqun
liuqun / install_gtest_ubuntu.md
Created August 20, 2019 13:53 — forked from Cartexius/install_gtest_ubuntu.md
Install gtest in Ubuntu
@liuqun
liuqun / maxmin.c
Created August 16, 2019 10:44 — forked from reterVision/maxmin.c
__typeof__ example in GCC
#include <stdio.h>
#define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
#define min(a, b) \
({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a > _b ? _b : _a; })
#define max(a, b) \