一、参考源码 <?php $localhost="localhost"; $root="root"; $password="123456"; $datebest="db_ku"; $conn=mysqli_connect($localhost,$root,$password,$datebest) o ...
分类:
数据库 时间:
2020-07-02 09:34:53
阅读次数:
105
在virtualenv创建的 2env虚拟环境中安装完 gunicorn-18.0,仍是没有gunicorn命令解决方法:在2env/bin/下创建文件gunicorn,文件内容如下:(2env) [root@x.x.x.x]# cat 2env/bin/gunicorn #!/xxxxxx/2en ...
分类:
其他好文 时间:
2020-07-01 18:45:11
阅读次数:
145
1.AMQP Messaging中的基本概念 Broker:接收和分发消息的应用,RabbitMQ Server就是Message Broker。Virtual Host:出于多租户和安全因素设计的,把AMQP的基本组件划分到一个虚拟的分组中,类似于网络中的Namespace概念。当多个不同的用户使 ...
分类:
其他好文 时间:
2020-07-01 15:57:34
阅读次数:
73
安装了react-redux后,npm start报下面错误 Failed to compile. ./node_modules/_react-redux@7.2.0@react-redux/es/connect/mapDispatchToProps.js Module not found: Can ...
分类:
其他好文 时间:
2020-07-01 14:19:25
阅读次数:
78
centos8如何重启网络服务 1.重启网卡之前一定要重新载入一下配置文件,不然不能立即生效 1 nmcli c reload 2.重启网卡(下面的三条命令都可以): 1 2 3 nmcli c up ens160 nmcli d reapply ens160 nmcli d connect ens ...
分类:
其他好文 时间:
2020-07-01 09:16:20
阅读次数:
884
获取随机字符串或数字 随机获取8位字符串 # 方法一 echo $RANDOM |md5sum |cut -c 1-8 d2614e90 # 方法二 openssl rand -base64 4 6kLKvQ== # 方法3 cat /proc/sys/kernel/random/uuid |cut ...
分类:
系统相关 时间:
2020-06-30 22:26:01
阅读次数:
99
一、react和vue设计上的共同理念 1、使用 Virtual DOM 2、提供了响应式 (Reactive) 和组件化 (Composable) 的视图组件。 3、将注意力集中保持在核心库,而将其他功能如路由和全局状态管理交给相关的库(比如我们后面要提到的vue-router、react-rou ...
分类:
其他好文 时间:
2020-06-30 20:25:20
阅读次数:
67
Can’t login: Connect to api.github.com:443 [api.github.com/13.250.168.23] failed: Connection refused: connect
this.wxInfo.redirect_uri = encodeURIComponent(window.location.href); var h = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + this.wxInf ...
分类:
微信 时间:
2020-06-30 17:39:40
阅读次数:
150
Windows XP Professional with SP3 VOL简体中文【601.04MB】 文件名:zh-hans_windows_xp_professional_with_service_pack_3_x86_cd_vl_x14-74070.iso 大小:630237184字节 SHA1 ...