配置示例 # setting.py配置如下 ## 访问 http://IP/static/***.css STATIC_URL = '/static/' ## python manage.py collectstatic时,把所有静态文件聚集到此目录下 STATIC_ROOT = os.path.j ...
分类:
其他好文 时间:
2021-06-10 17:37:06
阅读次数:
0
本文转自 IIS 优化 请支持原创! IIS 之 在IIS7、IIS7.5中应用程序池最优配置方案 找到Web站点对应的应用程序池,“应用程序池” → 找到对应的“应用程序池” → 右键“高级设置...” 一、一般优化方案 1、基本设置 [1] 队列长度: 默认值1000,将原来的队列长度改为 65 ...
分类:
其他好文 时间:
2021-06-08 22:30:23
阅读次数:
0
一、airtestIDE的下载 1.官方网站:http://airtest.netease.com/ 2.目前支持在windows,macOS,Ubuntu这几个平台使用airtestIDE 二、IDE的使用及常见问题 1.打开ide闪退或者报错 1)windows命令行启动(shift+右键,在此 ...
分类:
其他好文 时间:
2021-06-06 19:17:24
阅读次数:
0
一、代码 在manifest.json中配置,官网文档:https://uniapp.dcloud.io/component/mp-weixin-plugin "mp-weixin" : { "appid" : "", "setting" : { "urlCheck" : false, "minif ...
分类:
移动开发 时间:
2021-06-05 18:17:48
阅读次数:
0
1、打开设置: 2、搜索 输入shell:windows,setting.json中编辑 或者直接打开设置json 3、配置 json文件中默认配置 如果你的json配置文件中没有如下参数,直接复制拿走 对应路径改成自己本地即可 { "workbench.iconTheme": "vscode-ic ...
分类:
其他好文 时间:
2021-06-02 16:19:10
阅读次数:
0
ShardingSphere你还不会吗?(第一篇) 作者:星晴(当地小有名气,小到只有自己知道的杰伦粉) 一.需求 我们做项目的时候,数据量比较大,单表千万级别的,需要分库分表,于是在网上搜索这方面的开源框架,最常见的就是mycat,sharding-sphere,最终我选择后者,用它来做分库分表比 ...
分类:
其他好文 时间:
2021-06-02 15:46:34
阅读次数:
0
routers/router.go package routers import ( "github.com/gin-gonic/gin" "gin-blog/pkg/setting" ) func InitRouter() *gin.Engine { r := gin.New() r.Use(gi ...
分类:
Web程序 时间:
2021-06-02 14:19:19
阅读次数:
0
1.添加官方的GitLab存储库 1 curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh" | sudo bash 2.安装 1 export GITLAB_RUNN ...
分类:
其他好文 时间:
2021-06-02 10:56:12
阅读次数:
0
Skip to end of metadata Go to start of metadata The procedure to convert FSE2 from an IMG activity to a user transaction/current setting is outlined i ...
分类:
其他好文 时间:
2021-05-25 18:34:50
阅读次数:
0
超过最大分片引起的,在es机器上执行:curl -XPUT -H "Content-Type:application/json" -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://es-host:9200/_c ...
分类:
其他好文 时间:
2021-05-25 17:41:51
阅读次数:
0