1. nginx.cof配置文件说明 # 运行用户 user nobody; # 启动进程,通常设置成和cpu的数量相等 worker_processes 1; # 全局错误日志及PID文件 #error_log logs/error.log; #error_log logs/error.log n ...
分类:
其他好文 时间:
2021-04-21 12:37:55
阅读次数:
0
8.处理 Promise 抛出的异常 <script src="./Promise.js"></script> <script type="text/javascript"> let p = new Promise((resolve, reject) => { throw 'error'; }) p ...
分类:
其他好文 时间:
2021-04-21 12:20:24
阅读次数:
0
待解构字段为原始值 正常情况下, const obj = { a: 1, b: 2, }; const { a, b } = obj; console.log(a, b); // 1 2 当被解构字段缺失时, const obj = { a: 1, }; const { a, b } = obj; ...
分类:
编程语言 时间:
2021-04-21 12:12:21
阅读次数:
0
因业务需要,在centos服务器上配置了FTP服务,做此随笔以记录。配置是以实现多用户多工作目录为目标而配置。 首先在服务器安装ftp: yum install -y vsftpd 2. 一些vsftpd的相关命令: 查看服务状态:systemctl status vsftpd.service 开启 ...
分类:
其他好文 时间:
2021-04-21 12:03:23
阅读次数:
0
1. Overview JasperReports is an open source reporting library that enables users to create pixel-perfect reports that can be printed or exported in ma ...
分类:
编程语言 时间:
2021-04-21 11:48:33
阅读次数:
0
前文 之前的随笔中,已经通过相机或相册获取到了我们想要的图片,接下来进行识图api的配置工作。我使用的是百度的api,利用python获取信息,并在MainActivity中进行调用来输出信息。 一、首先我们需要申请创建一个应用(管理控制台->产品服务->图像识别),百度智能云,得到api key和 ...
分类:
移动开发 时间:
2021-04-20 15:32:06
阅读次数:
0
学习rabbitMQ时 自己写了一个发送者 案例 运行后报错: Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>(r ...
分类:
数据库 时间:
2021-04-20 14:20:37
阅读次数:
0
报错代码: error Missing space before function parentheses space-before-function-paren 报错信息: 解决: 在 .eslintrc.js 文件下的 rules 中添加以下代码即可解决: 'space-before-funct ...
分类:
其他好文 时间:
2021-04-20 14:09:09
阅读次数:
0
问题描述 在Azure媒体服务(AMS: Azure Media Service)中,不管是点播,直播都需要下载manifest文件。而文件中有一段【<c t="6161940" d="749970" r="2" n="0" />】内容,这些内容如何解释呢? <?xml version="1.0" ...
分类:
其他好文 时间:
2021-04-20 14:02:06
阅读次数:
0
1. Binder的系统日志文件 # ps -A | grep suspend system 699 1 2184444 4564 binder_ioctl_write_read 0 S android.system.suspend@1.0-service # ls /proc/699/fd -l ...
分类:
其他好文 时间:
2021-04-19 15:59:18
阅读次数:
0