log日志的使用(在settings.py文件中添加) # 日志配置 LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'verbose': { 'format': '%(levelname)s ...
分类:
编程语言 时间:
2020-07-02 18:37:52
阅读次数:
101
SPARK_MASTER_OPTS is not allowed to specify max heap(Xmx) memory settings (was -Xms512m -Xmx1024m -Dcom.sun.management.jmxremote=true -Dcom.sun.manage ...
分类:
其他好文 时间:
2020-07-02 16:40:58
阅读次数:
87
(密集恐惧症者和文字眩晕症者慎看) 一、关闭不必要的端口 只开3389 21 80 1433(MYSQL) 1.办法:本地连接--属性--Internet协议(TCP/IP)--高级--选项--TCP/IP筛选--属性--把勾打上 然后添加你需要的端口即可。 2.更改远程连接端口方法,打开以下注册表 ...
分类:
Web程序 时间:
2020-07-01 23:39:18
阅读次数:
93
1. 插件下载地址 https://heychaw.cc/usr/uploads/2018/04/1391963764.crx 2.设置GitHub token Settings->Developer settings->Personal access tokens->Generate new to ...
分类:
其他好文 时间:
2020-07-01 22:18:28
阅读次数:
117
下载 https://www.sonatype.com/download-oss-sonatype TIPS: 推荐使用迅雷下载,用浏览器下载可能会失败。 安装 安装JDK 安装JDK的过程就不在这里缀述了。 解压下载的 Nexus Repository OSS tar -zxvf latest-u ...
分类:
系统相关 时间:
2020-07-01 22:02:32
阅读次数:
100
1.配置file associations File->Preferences->settings->Text Editor->Files,编辑settiings.json: “files.associations”: {“.pc”: “c”,} 之后重启vscode。 这样任何以pc为扩展名的文件 ...
分类:
其他好文 时间:
2020-07-01 20:49:45
阅读次数:
126
<!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstr ...
分类:
其他好文 时间:
2020-07-01 12:34:27
阅读次数:
49
1.修改主 vim /etc/my.cnf文件 # For advice on how to change settings please see # http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html ...
分类:
数据库 时间:
2020-06-30 20:27:13
阅读次数:
69
git config --list List all the settings git can find at /etc/gitconfig, ~/.gitconfig, ~/.config/git/config or .git/config. git config --system --list ...
分类:
其他好文 时间:
2020-06-30 16:03:38
阅读次数:
57
报错信息大致如下: redis.exceptions.ResponseError: WRONGTYPE Operation against a key holding the wrong kind of value 解决方案: 是发现项目的settings.py文件中的 SCHEDULER_QUEU ...
分类:
其他好文 时间:
2020-06-30 14:31:08
阅读次数:
58