摘要: 1、下载QScintilla:https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.14.1/QScintilla_src-2.14.1.zip 2、解压缩,目录结构如下: QScintilla_src-2.14.1 - s 阅读全文
posted @ 2024-01-31 23:03 卡卡西村长 阅读(20) 评论(0) 推荐(0) 编辑
摘要: C:\Windows\System32\drivers\etc\hosts 140.82.114.26 alive.github.com140.82.112.5 api.github.com185.199.111.153 assets-cdn.github.com185.199.110.133 av 阅读全文
posted @ 2024-01-30 22:34 卡卡西村长 阅读(12) 评论(0) 推荐(0) 编辑
摘要: MySQL中一个很实用的函数:group_concat,在vertica中,有一个功能相同的函数:LISTAGG。 Vertica官方参考文档 用法: select client_id, LISTAGG(prod_code) from bdware.test1 group by client_id 阅读全文
posted @ 2023-04-03 12:17 卡卡西村长 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 执行如下SQL,查看当前事务: select t.trx_mysql_thread_id, t.trx_started, t.trx_state, t.trx_tables_in_use, t.trx_tables_locked, t.trx_rows_locked, timestampdiff(s 阅读全文
posted @ 2022-12-15 13:07 卡卡西村长 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 问题原因:代码文件的字符编码格式为UTF-8,但是terminal的字符编码格式为GBK。 解决思路:统一代码文件和terminal的字符编码格式。 解决办法 方法1:通过编码重新打开,选择GBK。 方法2:执行exe之前,先执行命令:chcp 65001 阅读全文
posted @ 2022-10-28 21:44 卡卡西村长 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: 通过URL设置参数ResultBufferSize,默认是8192(8KB),调大一点,比如:819200(800KB)。 jdbc:vertica://127.0.0.1:5433/mydb?ResultBufferSize=819200 如果设置为0,则表示不限制,Vertica不推荐这种做法。 阅读全文
posted @ 2022-08-24 10:31 卡卡西村长 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 先模拟登录,再按照指定课程挨个去抓取,还有点不完善,会有重复题目出现。 var page = require('webpage').create(); phantom.outputEncoding = 'gbk'; page.settings.userAgent = 'chrome'; page.o 阅读全文
posted @ 2022-06-02 08:48 卡卡西村长 阅读(30) 评论(0) 推荐(0) 编辑
摘要: 1、下载fasm https://flatassembler.net/fasmw17330.zip 2、安装fasm 假设安装在D盘,所在目录是D:\fasm 3、配置系统环境变量, 在Path里添加:D:\fasm 添加一个INCLUDE变量,值是D:\fasm\include 4、下载notep 阅读全文
posted @ 2022-04-24 16:27 卡卡西村长 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 首先定义一个消费listener: package demo; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.stereotype.Component; @Co 阅读全文
posted @ 2022-04-01 11:51 卡卡西村长 阅读(860) 评论(0) 推荐(0) 编辑
摘要: 创建测试表: CREATE TABLE `test_report` ( `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID', `t_date` int(8) NOT NULL COMMENT '统计日期yyyymmdd', `cust_no` varc 阅读全文
posted @ 2022-01-06 18:06 卡卡西村长 阅读(676) 评论(0) 推荐(0) 编辑