上一页 1 2 3 4 5 6 7 ··· 16 下一页
换行符的差异 windows下每行结尾为回车+换行(CR+LF),即 \r\n unix和macOS下每行结尾为换行LF,即 \n classic macOS(最后一个版本为1999年发布的Mac OS 9,可忽略)下为回车,即 \r 设置jetbrain系IDE settings > Editor Read More
posted @ 2022-07-22 14:13 ck_2016 Views(2687) Comments(0) Diggs(0)
1 AutoCRLF #提交时转换为LF,检出时转换为CRLFgit config --global core.autocrlf true #提交时转换为LF,检出时不转换git config --global core.autocrlf input #提交检出均不转换git config --gl Read More
posted @ 2022-06-17 22:23 ck_2016 Views(293) Comments(0) Diggs(0)
c++通过dbg分析内存和cpu,可能大家都会。本篇主要分析通过delve分析golang程序cpu占用高的问题。 delve是golang推荐的专门go语言调试工具,用来替代gdb。golang组织说delve能更好的理解go语言。 先用vscode写个简单的demo,main.go代码如下: p Read More
posted @ 2022-06-13 19:25 ck_2016 Views(975) Comments(0) Diggs(0)
(1)创建数据库文件 无需手动创建db文件,直接在命令行执行: ~/test_sqlite$ sqlite3 test.db 进入SQLIte命令行,直接使用标准SQL建表: sqlite> create table test_table (id integer primary key, name Read More
posted @ 2022-05-23 10:29 ck_2016 Views(2471) Comments(0) Diggs(0)
容器 容器是由可见边框环绕的形状集合。 添加容器 选择要包含的形状。 在"插入"选项卡上的"图表部件"组中,单击"容器"。 将指针放在容器样式上以查看页面上容器的预览。 单击以插入容器。 选中容器后,键入形状组的标题。 如果在插入容器时未选择任何形状,则在当前视图的中间添加该容器。 它实际上不包含任 Read More
posted @ 2022-05-20 17:38 ck_2016 Views(1813) Comments(0) Diggs(0)
Go 标准库可以大致按其中库的功能进行以下粗略的分类 输入输出。这个分类包括二进制以及文本格式在屏幕、键盘、文件以及其他设备上的输入输出等,比如二进制文件的读写。对应于此分类的包有bufio、 fmt、 io、 log和flag等,其中 flag 用于处理命令行参数。 文本处理。这个分类包括字符串和 Read More
posted @ 2022-05-10 11:10 ck_2016 Views(312) Comments(0) Diggs(0)
一日,同事安装了2.33.1版本的git,生成密钥、gitlab账户绑定pubkey一气呵成后,发现pull代码时报错: $ git pull Unable to negotiate with 12.34.56.78 port 22: no matching host key type found. Read More
posted @ 2022-05-06 13:37 ck_2016 Views(596) Comments(0) Diggs(0)
开源清华大学镜像: https://mirrors.tuna.tsinghua.edu.cn/AdoptOpenJDK/ Read More
posted @ 2022-04-25 21:07 ck_2016 Views(308) Comments(0) Diggs(0)
转自:http://www.xiuxiu8.net/a/win10jc/42985.html Read More
posted @ 2022-04-14 20:13 ck_2016 Views(47) Comments(0) Diggs(0)
可以用 top 命令看 1.找出cpu耗用厉害的进程pid, 终端执行 top 命令,然后按下shift+p (shift+m是找出消耗内存最高)查找出cpu利用最厉害的pid号 2.根据上面第一步拿到的pid号,top -H -p pid 。然后按下shift+p,查找出cpu利用率最厉害的线程号 Read More
posted @ 2022-04-10 21:07 ck_2016 Views(613) Comments(0) Diggs(0)
上一页 1 2 3 4 5 6 7 ··· 16 下一页