关闭http自动跳转https


一、场景 公司网站 http:// 谷歌浏览器中自动转换成 https:// 导致无法访问 二、问题 nginx配置ssl 443接口, https:// 可以访问,但是接口均需要更改成 https:// 才能访问,否则会引发跨域问题 三、解决方案 浏览器禁用http自动转换成https 3.1 c

[Spring]启动性能统计


从项目https://github.com/linyimin0812/spring-startup-analyzer下载最新版本 启动增加agent: java -javaagent:/Users/huangxinchao/spring-startup-analyzer/lib/spring-pr

Starrocks单机TPC-H 1GB数据集生成


starrocks单机搭建 docker run -p 9030:9030 -p 8030:8030 -p 8040:8040 -itd --name starrocks starrocks/allin1-ubuntu 下载数据集 wget https://starrocks-public.oss-

git push失败


其他push有成功的,排除了权限问题 错误日志: error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 send-pack: unexpected disconnect while reading side

JVM内存分配与设置


JVM参数设置 基本参数 通过一张图来了解如何通过参数来控制各区域的内存大小 控制参数 -Xms设置堆的最小空间大小。 -Xmx设置堆的最大空间大小。 -XX:NewSize设置新生代最小空间大小。 -XX:MaxNewSize设置新生代最大空间大小。

Redis5.x在mac(apple silicon)上编译


直接使用make命令进行编译,出现以下错误 replication.c:961:31: error: variable has incomplete type 'struct stat64' struct redis_stat buf;

HBase内存调优


Select the RegionServer scope and do the following: Set BucketCache IOEngine to offheap. Update the value of BucketCache Size according to the require

Mac brew 安装卸载 国内源


[AI插件生成]使用文心一言生成的go-gin使用教程


Go-Gin的使用 Gin是一个高性能的Go语言Web框架,它提供了快速构建Web应用程序的能力。下面将介绍Gin的基本使用。 安装Gin 首先,你需要在你的Go项目中安装Gin。你可以使用以下命令来安装Gin: go get -u github.com/gin-gonic/gin 创建一个基本的

常用链接


如果你看到了这一篇文章,那么证明你已经安装成功了,感谢使用 Halo 进行创作,希望能够使用愉快。