删除代理即可。 具体操作如下: 1. git config --global --list 查看git配置 发现其中有 http.https.XXXXXX.proxy 和 https.https.XXXXXX.proxy配置 2.git config --global --unset http.ht ...
分类:
其他好文 时间:
2020-07-26 00:07:03
阅读次数:
249
在Django中如何使用Redis 通用方式 在utils下建立redis_pool.py文件 # 单例模式 import redis POOL = redis.ConnectionPool(host="127.0.0.1",port=6379,max_connections=1000) 在视图函数 ...
分类:
其他好文 时间:
2020-07-25 11:45:38
阅读次数:
91
问题: An error occured while deploying the file. This probably means that the app contains ARM native code and your Genymotion device cannot run ARM ins ...
分类:
移动开发 时间:
2020-07-24 22:03:36
阅读次数:
160
C:\Program Files (x86)\Jenkins\plugins\ruby-runtime\WEB-INF\lib\classes.jar: The process cannot access the file because it is being used by another pr ...
分类:
其他好文 时间:
2020-07-24 21:30:48
阅读次数:
197
在对http://zkgg.tjtalents.com.cn/newzxxx.jsp这个网页爬取内容时,如果只使用Jsoup进行解析的话,起内部的a href标签内容无法获取到。 但是实际上通过 Document doc = Jsoup.connect(url).get(); 获取到的文档只是new ...
分类:
Web程序 时间:
2020-07-24 21:09:19
阅读次数:
96
jq可以给shell提供json解析功能,但托管在epel仓库 yum -y install epel-release yum clean all yum makecache yum -y install jq 若安装过程遇到如下问题: yum Cannot retrieve metalink fo ...
分类:
其他好文 时间:
2020-07-24 19:06:44
阅读次数:
97
1.添加php脚本vim /www/html/conn_mysql.php<?php $conn = mysql_connect('localhost','root','chaoge666'); if ($conn) echo "php已成功连接mysql,你真棒"; else echo "你咋回事 ...
分类:
数据库 时间:
2020-07-24 16:29:03
阅读次数:
83
准备 1.1 准备 keepalived-1.2.22.tar.gz redis-3.2.1.tar.gz 1.2 说明 当 Master 与 Slave 均运作正常时, Master负责服务,Slave负责Standby; 当 Master 挂掉,Slave 正常时, Slave接管服务升级Mas ...
分类:
其他好文 时间:
2020-07-24 15:40:44
阅读次数:
72
在Zabbix Server服务器上安装oracle-instantclient11.2后,结果使用sqlplus命令时遇到“sqlplus: error while loading shared libraries: libnsl.so.1: cannot open shared object f... ...
分类:
数据库 时间:
2020-07-23 23:19:25
阅读次数:
107
问题:使用windos客户端RedisDestopManger可以连接,证明服务器连接正常,项目配置出现问题分析:原因在application.properties文件中最后多了一个空格总结:配置properties文件时要注意空格引起redis无法连接
分类:
其他好文 时间:
2020-07-23 22:47:46
阅读次数:
65