Centos系统请使用以下命令:yum install wget -y && wget -O auto_disk.sh http://download.bt.cn/tools/auto_disk.sh && bash auto_disk.sh Ubuntu系统请使用以下命令:wget -O auto ...
分类:
系统相关 时间:
2020-06-27 11:17:00
阅读次数:
207
nginx配置http块中增加 client_max_body_size 200m; php-fpm的php.ini配置文件中增加: upload_max_filesize = 200M 如果不知道fpm下的php.ini在哪,可以直接grep upload_max_filesize -R /etc ...
分类:
Web程序 时间:
2020-06-26 23:57:29
阅读次数:
123
1、下载安装包,下载链接如下: http://ftp.gnu.org/gnu/binutils/ wget http://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.gz tar -xzvf binutils-2.32.tar.gzcd binutils-2 ...
分类:
系统相关 时间:
2020-06-26 20:24:07
阅读次数:
280
我平常用 vscode 码字,经常使用一些 C/C++ 插件,这里整理下分享给大家,不过插件开启太多会造成 vscode 卡顿,所以如果内存不太够,建议关掉一些不必要的插件。 一、主题和图标 以下这些主题都还不错: Atom One Dark Theme Material Theme Monokai ...
分类:
编程语言 时间:
2020-06-26 01:42:42
阅读次数:
80
install(ubuntu os): sudo apt-get install apache2-utils usage: ab -c 200 -t 100 http://localhost:8001/ explain: -c concurrency -t timelimit ...
分类:
系统相关 时间:
2020-06-25 13:55:31
阅读次数:
54
步骤1:manege jenkins -> configure system LANG : zh_CN.UTF-8 步骤2:构建时设置环境变量,command: source /etc/profile;export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 步骤 ...
分类:
编程语言 时间:
2020-06-24 19:28:48
阅读次数:
81
问题描述: 平常在使用EF Linq 执行数据库查询时,错误的使用Any进行数据筛选导致的错误:Too high level of nesting for select,我们先来看看使用方法: var officeIds = new List<int>{69,20,55,67,9,51,59,18, ...
分类:
其他好文 时间:
2020-06-24 19:21:48
阅读次数:
55
1 问题: 最近有一个测试环境的 Swarm 集群挂了, 这个集群有两个管理节点, 执行 docker node ls, 均报: The swarm does not have a leader. It's possible that too few managers are online. Mak ...
分类:
其他好文 时间:
2020-06-24 14:12:50
阅读次数:
95
idea 启动类有启动按钮,点击没反应问题 打开idea file-settings搜索插件找到Groovy这个然后把这个插件enable前面的对勾去掉即可。 idea 启动问题解决 Command line is too long. In order to reduce its length cl ...
分类:
其他好文 时间:
2020-06-24 13:57:26
阅读次数:
114
一、scroll 相关属性 1、window.onscroll() 方法 当我们用鼠标滚轮,滚动网页的时候,会触发 window.onscroll() 方法。 如果你需要做滚动监听,可以使用这个方法。 2、ScrollWidth 和 scrollHeight `ScrollWidth` 和 `scr ...
分类:
Web程序 时间:
2020-06-24 12:23:39
阅读次数:
96