码迷,mamicode.com
首页 >  
搜索关键字:host header    ( 25350个结果
java读取excel
java读取excel 使用 jxl读取 依赖 <dependency> <groupId>net.sourceforge.jexcelapi</groupId> <artifactId>jxl</artifactId> <version>2.6.12</version> </dependency> ...
分类:编程语言   时间:2021-06-02 12:07:16    阅读次数:0
Tomcat启用manager管理
1.修改远程访问限制: 修改webapps/manager/META-INF/context.xml和webapps/host-manager/META-INF/context.xml,在<Context>下<Value>属性,可看到allow属性,它用正则表达式表示,默认仅允许本机访问,例如可修改 ...
分类:其他好文   时间:2021-06-02 12:03:01    阅读次数:0
python 监测window任务管理器某一进程状态,并邮件提醒
import os import time import smtplib from email.mime.text import MIMEText from email.header import Header sender = '2575125xxx@qq.com' receivers = ['1 ...
分类:编程语言   时间:2021-06-02 11:42:46    阅读次数:0
linux下应用crontab对mysql数据库进行定时备份
mysql数据库提供了备份命令mysqldump,可以结合crontab命令进行定时备份。 我写了一个mysql_backup.sh的脚本,此脚本按照日期在当前目录下创建一个文件夹,同时在此目录下备份一个文件。内容如下: #!/bin/bash #设置mysql备份目录 folder=/home/l ...
分类:数据库   时间:2021-06-02 11:21:58    阅读次数:0
GetTickCount() 函数的作用和用法
DWORD GetTickCount(void); 1) 定义 For Release configurations, this function returns the number of milliseconds since the device booted, excluding any ti ...
分类:其他好文   时间:2021-06-02 11:21:18    阅读次数:0
服务器上获取不到header中设置的自定义的属性值
问题背景: 前后端开发完之后打包部署到服务器上,进行测试的时候,发现有个接口总是报“请求头缺少参数SESSION_ID”,碰到这个问题,作为一个后端开发,肯定会说前端没传呗!前端同事信誓旦旦的说的确传了,但是本地IDE启动项目进行联调的时候,后端确实收到了请求头中的参数,然后意识到可能是服务器环境问 ...
分类:其他好文   时间:2021-06-02 11:09:10    阅读次数:0
xdebug开启调试
xdebug 2.8 (貌似3.0以下都可以) [xdebug]xdebug.remote_enable=1xdebug.remote_host=host.docker.internalxdebug.remote_port=9000xdebug.remote_handler=dbgpxdebug.r ...
分类:其他好文   时间:2021-05-25 18:12:24    阅读次数:0
DHCP
前言:在大型企业网络中,会有大量的主机或设备需要获取IP地址等网络参数。如果采用手工配置,工作量大且不好管理,如果有用户擅自修改网络参数,还有可能会造成IP地址冲突等问题。使用动态主机配置协议DHCP (Dynamic Host ConfigurationProtocol)来分配IP地址等网络参数, ...
分类:其他好文   时间:2021-05-25 18:06:52    阅读次数:0
logstash报错如下:Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [999]/[1000] maximum shards open
超过最大分片引起的,在es机器上执行:curl -XPUT -H "Content-Type:application/json" -d '{"persistent":{"cluster":{"max_shards_per_node":10000}}}' 'http://es-host:9200/_c ...
分类:其他好文   时间:2021-05-25 17:41:51    阅读次数:0
可选链操作
<script> function main(config){ // const dbHost = config && config.db && config.db.host; const dbHost =config?.db?.host; console.log(dbHost); // 192.1 ...
分类:其他好文   时间:2021-05-25 17:41:36    阅读次数:0
25350条   上一页 1 ... 11 12 13 14 15 ... 2535 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!