会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
☞@_@
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
21
下一页
2024年4月22日
python使用scap构建镜像流量
摘要: import pytest import requests import time from scapy.all import * @pytest.mark.usefixtures("get_config_instance") def test_76_vlan(get_config_instance
阅读全文
posted @ 2024-04-22 11:44 ☞@_@
阅读(56)
评论(1)
推荐(0)
2024年3月26日
go引用私有仓库
摘要: export GOPRIVATE=gitlab.com/xxx
阅读全文
posted @ 2024-03-26 16:54 ☞@_@
阅读(18)
评论(0)
推荐(0)
2024年3月4日
操作docker创建的opengauss
摘要: 以此执行如下命令: docker exec -it containter_name bash su - omm gsql -U user_name -d database_name
阅读全文
posted @ 2024-03-04 17:38 ☞@_@
阅读(17)
评论(0)
推荐(0)
2024年2月1日
go程序使用扩展正则表达式PCRE
摘要: 1、安装libpcre++-dev mac环境依次运行如下命令: brew --prefix pcre export CGO_CFLAGS="-I$(brew --prefix pcre)/include" export CGO_LDFLAGS="-L$(brew --prefix pcre)/li
阅读全文
posted @ 2024-02-01 17:19 ☞@_@
阅读(91)
评论(0)
推荐(0)
2024年1月19日
GSSM加解密
摘要: 1、sm2 package crypto import ( "crypto/rand" "github.com/emmansun/gmsm/sm2" ) func Sm2Decrypt(priKey, cipherText []byte) (plainText []byte, err error)
阅读全文
posted @ 2024-01-19 10:25 ☞@_@
阅读(78)
评论(0)
推荐(0)
2023年9月19日
clickhouse学习笔记
摘要: 一、query相关 1. 展示正在处理的请求列表 show processlist 2. 杀掉正在处理的查询 KILL QUERY WHERE query_id='2-857d-4a57-9ee0-327da5d60a90' 二、修改名称 -- 1. 重命名 RENAME DATABASE|TABL
阅读全文
posted @ 2023-09-19 18:31 ☞@_@
阅读(187)
评论(0)
推荐(0)
2023年5月17日
opengauss对json和jsonb操作的兼容性
摘要: -- json和jsonb操作符 -- select '[{"a":"foo"},{"b":"bar"},{"c":"baz"}]'::json->2; -- select '{"a": {"b":"foo"}}'::json->'a'; -- 支持 -> -- SELECT '[1,2,3]'::
阅读全文
posted @ 2023-05-17 18:05 ☞@_@
阅读(365)
评论(0)
推荐(0)
2023年4月23日
clickhouse学习笔记(1)
摘要: 一、clickhouse特性 1、多样化引擎 ClickHouse 和 MySQL 类似,把表级的存储引擎插件化,根据表的不同需求可以设定不同的存储引擎。目前包括合并树、日志、接口和其他四大类 20 多种引擎。 2、高吞吐写入能力 ClickHouse 采用类 LSM Tree 的结构,数据写入后定
阅读全文
posted @ 2023-04-23 16:54 ☞@_@
阅读(104)
评论(0)
推荐(0)
2023年4月21日
wrk压测工具
摘要: 1、参数说明 使用方法: wrk <选项> <被测HTTP服务的URL> Options: -c, --connections <N> 跟服务器建立并保持的TCP连接数量 -d, --duration <T> 压测时间 -t, --threads <N> 使用多少个线程进行压测 -s, --scri
阅读全文
posted @ 2023-04-21 15:53 ☞@_@
阅读(69)
评论(0)
推荐(0)
2023年4月20日
编辑pcap文件
摘要: 1、使用tshark编辑pcap文件 //过滤掉不是tcp的数据包 tshark -r sichuandianli.pcap -w tcp_output.pcap -Y "tcp" //过滤掉消息长度大于1500字节的数据包 tshark -r outcap.pcap -Y "frame.len <
阅读全文
posted @ 2023-04-20 17:15 ☞@_@
阅读(216)
评论(0)
推荐(0)
1
2
3
4
5
···
21
下一页
公告